Questions tagged as 'java'

1
answer

Show modal while downloading file

I have a button whose function is to download a file, however this process is sometimes very long and the ideal is to show a message of "loading" while the file is generated, but when using ajax = "false I can not use the functions onStar...
asked by 12.05.2017 / 21:24
2
answers

How to get the selected item from a JComboBox and in turn to list everything from that Item

What I need to know is how do I show the selected item in a JComboBox and in turn list everything loaded in that combo from that previously stored item, for example: That combo belongs to a ComboBox which is written in C #, I want to do...
asked by 15.05.2017 / 01:34
0
answers

Pass HashMap to JList

I want to pass the data of players to a list from which to perform actions such as unsubscribe, etc (in a jframe). It's a poker game, players have ID, name, etc. My idea is to execute the following method in the main of the jFrame: public v...
asked by 13.05.2017 / 15:04
1
answer

(Android) Doubt 'Canvas.drawText' [closed]

Good morning, I would like to show a text, (especially letters), on my canvas. The idea is that whenever you call the oncliklistener of the view, a letter will be displayed on the screen. I've seen that it could work with 'Canvas.drawText' An...
asked by 15.05.2017 / 08:28
1
answer

Is it possible to wrap an executable in a Java Frame?

I have my project A in JavaFX , which wants to send an external .exe program. This I do well, the problem is that as requested, that external program should give the feeling of belonging to my project. For this, I would like to wrap the .ex...
asked by 15.05.2017 / 14:47
0
answers

Where do I find the java sprite class?

I want to make animations for video games and I try to do it with the sprite class, but when I look for it in the netbeans IDE, it does not appear. can someone help me     
asked by 09.05.2017 / 00:14
0
answers

What happens to a local database when I build my project?

If I have a project and in this I create a folder in which I have a database in SQLite What happens to the database when I make an .exe or .jar of my project?     
asked by 17.05.2017 / 13:50
1
answer

IF statement with positions x

Good morning, I want to mount an if statement as follows: I have the xInicial position and the xFinal position. My goal is for the object to go from xInitial to xFinal, adding in positive and when it reaches xFinal, add up in negative and...
asked by 09.05.2017 / 08:08
2
answers

is this boolean validation correct in java?

I have the following validation: -The start date must be less than or equal to the current system date -The Start date must be equal to or greater than the Request date In case a validation or both are not fulfilled, they send a message...
asked by 06.05.2017 / 21:31
2
answers

how to read a txt file with Java

I think I also need a BufferedWriter and FileWriter but I do not want to write inside the file I just want to read it, modify what is already read and rest it inside a String public String substituye(String parrafo) { StringBuilder co...
asked by 05.05.2017 / 16:39