Questions tagged as 'jframe'

2
answers

JFrame created is not displayed

I am starting to program in Java and I have encountered this problem, I am using Eclipse , the thing is that at the time of executing the program the JFrame container of the others JPanel is not displayed, and no I see the er...
asked by 08.04.2017 / 00:27
1
answer

Do not execute Try / Catch block in Form

I made a basic calculator with forms and when wanting to manage the ArithmeticException() by zero it seems not to enter the catch and execute the sentences that I define for such a case (neither System.out.println, nor JOptionPane.showMes...
asked by 23.08.2017 / 22:51
1
answer

Problem with Java and NetBeans

I have a MacBook Pro. The case that I installed NetBeans latest version and Java JDK, finally I installed the necessary tools. The problem is that, when I compile, I never open the terminal or the project ... if I make a print "hello" shows i...
asked by 02.05.2018 / 16:45
1
answer

Help I need to read Java files

Hello! After a long wait at the end, I have to develop a small exercise with Threads. I have a set of txt files with 4 colors in RGB code (red, green, blue), each file contains the rgb colors separated by spaces and the color name: "84 84...
asked by 07.03.2018 / 05:12
2
answers

How do I go through a list?

How do I go through a list? how do I go through the data of it as such to a Jframe window called purchases ... from a control I load a list in a Jframe but I would like to know how to go through it with what code it is done?     
asked by 13.04.2017 / 02:06
3
answers

What JFrame event allows me to execute a method while the JFrame is Open?

I am looking to implement an event of JFrame that allows executing a method as long as the JFRAME is active, If the method exists, can someone give me the name and an implementation example? PS: I tried the event windowAct...
asked by 29.03.2017 / 22:35
1
answer

help with jframe

I have an application that opens a jframe and I need that when it opens the same I block the application from behind, that does not let me touch the application after, that the focus of the application is in new jframe. What method of jframe all...
asked by 04.07.2018 / 17:59
1
answer

Problems with serialization

I am carrying out a project of a parking lot that registers clients, the vehicle of each of them, the number of hours that will last, I calculate the price depending on the vehicle, etc ... Until there is everything right, I have to go increasin...
asked by 19.11.2017 / 05:01
1
answer

HTML in JtextPane JAVA

I have a little doubt, how do I print a string inside a Text Panel with html tags? Example: jtextpane.setText("<html><body><font color=#16a085 size=6> Hola a todos! </font></body></html>"); @Dev...
asked by 07.10.2017 / 21:41
1
answer

How to freeze and thaw a jframe? [closed]

I am learning to program with the java language and I am already using the JFrame and I would like to know how to click on a button to put another JFrame in front and not let me return to the First Jframe until I press the button of the second J...
asked by 31.08.2017 / 21:38