Questions tagged as 'java'

2
answers

How to create a robot using requests in Java?

I have been interested in making robots to perform small repetitive and boring tasks. I use a class of Java called Robot. However, I think the way I'm doing is not the most appropriate, because it's a pretty handy robot that works with mo...
asked by 14.03.2014 / 18:22
2
answers

Confirm form closure

I need to ask if I want to close the window that is open. I made the following form, but in any of the options, it closes. I currently use this event option: private void formWindowClosing(java.awt.event.WindowEvent evt) {...
asked by 26.03.2015 / 21:08
1
answer

Development of mobile games

Is it possible to develop mobile games using the new Java ME SDK (SDK 8)? That is, can I do projects in which a mobile emulator appears and develop for it? I'm kind of confused about this. I know there are older versions that use midp 2.0 wit...
asked by 16.08.2014 / 06:11
1
answer

How to change values of an enum within the code itself?

What I'm trying to do is that when I call an Enum, and instantiate it, it appears with value X, and when I'm messing with it in the code, it changes the value to whatever I want. > Example: //Classe dos enums public class Enumers{ public...
asked by 04.05.2014 / 21:54
2
answers

Progress bar is not updated correctly

Working with progress bar ( JProgressBar ) I came across a problem with PropertyChangeListener . In fact, not necessarily in PropertyChangeListener , but rather at the moment of returning the property being updated. Tarefa ta...
asked by 30.01.2014 / 22:36
3
answers

Refactor with eclipse

By itself does eclipse already have what is needed for refactoring, or would you suggest some tool to link to the eclipse editor and use it more accurately?     
asked by 29.01.2014 / 13:56
1
answer

Difficulty creating .JAR on NetBeans

I'm trying to create a .JAR in NetBeans, but I get the messages:    C: \ Users \ Admin \ Desktop \ Project \ nbproject \ build-impl.xml: 993: The following error occurred while executing this line:   C: \ Users \ Admin \ Desktop \ Project \...
asked by 05.05.2014 / 13:29
2
answers

How do I move an icon on the map behind my location?

I'm doing a project that uses the Maps v2 API. In this map my location appears, which is being updated as soon as I move. I put an icon with the police image, and I wanted this icon to come after me every time I move, or if I'm standing still be...
asked by 30.01.2014 / 10:33
1
answer

Recursive Method LinkedList

I'm having difficulty implementing a recursive method for the method of inserting an element at the end of a simply linked list. The following is the Iterative method: public void addLast(Node<E> novoNodo){ if(isEmpty()) a...
asked by 17.11.2014 / 17:14
1
answer

Polymorphism with ArrayList

I have the Iinterface below and I would like to know how to override the method by passing another object to List because I have 4 classes in my entity, for example the entity classes are cliente , colaborador , produto...
asked by 09.11.2014 / 14:40