Posts by Diogo Martins Silva • 13 points
2 posts
-
1
votes1
answer58
viewsQ: Screen stops responding after clicking one of the buttons
I’m doing a simple program of the old game next to Swing. I wanted to know why, when shooting an event click by the method ActionPerfomed, my program freezes. I did some research and found that…
-
0
votes5
answers23968
viewsA: How to get and format current date and time?
public static void main(String[] args) { String dataAtualFormatada = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss") .format(System.currentTimeMillis()); //Seta valores da data String dataString =…