Questions tagged as 'java'

1
answer

Error Performing stop of activity that is not resumed: on Android

Sometimes I get the following error    Performing stop of activity that is not resumed: I have MainActivity that in the onCreate check if it is the first time the user opens the app to open another welcome activity OnBoar...
asked by 22.12.2016 / 20:59
1
answer

Why are not the words stored in the arrays correctly stored?

The objective of this program is that given a sequence of characters entered verify if a word is a palindrome (word that is symmetric from right to left: qwewq qweewq) once verified that it is a palindrome to count the number of letters to see i...
asked by 22.12.2016 / 22:44
1
answer

Does not show the output in Eclipse

I have a problem in Eclipse and it is that it does not show me by console from the second System.out.println, I'm using Eclipse 3.7.1 and Java 1.8.0_45 which is what they send me, and I also have to use the next class of a reader by keyboard, to...
asked by 02.11.2016 / 08:58
1
answer

Infinite Loop in java

I have a problem with a code that should order me certain orders according to the delivery date more next until the latest, the code is implemented in a list, which contains all the orders that were received after the date that the user delivers...
asked by 25.10.2016 / 05:14
2
answers

Help, with this search tree code "bad operand types for binary operator '-' first type: String; second type: int "[closed]

import java.io.*; public class Test { public static void main(String[] args)throws IOException { BufferedReader in=new BufferedReader(new InputStreamReader(System.in)); PrintStream p=System.out; CArbolBinarioDeBus...
asked by 02.11.2016 / 20:25
2
answers

Why does not my managerbean delete entities when sending my entity?

For some reason when trying to delete an entity with public void remove(Notification notification){ try { em.merge(notification); em.remove(notification); } catch (Exception e) { System.out.println("No se pudo r...
asked by 06.01.2017 / 20:41
1
answer

Null object reference in a RecyclerView pointing to a package

I am working on an application of time and the design is with three tabs, the problem comes to me when I show the predictions for the next five days in a recycler , which generates an error indicating that I invoke a reference of null obje...
asked by 04.01.2017 / 22:12
1
answer

ERROR: log4j.appender.DEBUG

Hi, I thank you for your help with the following case: Trying to enable the DEBUG level in rootCategory, like this: log4j.rootCategory=INFO,CONSOLE,DEBUG Uploading the tomcat 7 server produces the following error: log4j:ERROR Could not...
asked by 07.11.2016 / 17:23
1
answer

Problem using Runnable

I am using the video player from link where I have a problem in the next class link With the following method: protected Runnable updateTimeRunnable = new Runnable() { public void run() { updateCounter(); TIME_THREA...
asked by 06.11.2016 / 20:27
2
answers

Create a Swing or Layout form in Java

Very good. I am looking for a way to create forms that contain JLabel, JTextField, JButton, that is, to register the data of a person or search in a JTable. I have been working so far with the NetBeans GUI but my program is getting very big a...
asked by 19.10.2016 / 23:23