Questions tagged as 'jframe'

1
answer

Help with a JFrame to open another

I have a JFrame for a project, I have been asked to pass the window that had to be a secondary window, that is, open from another window that would be the main one. Here is the code of the secondary window (Which should be able to open...
asked by 08.09.2017 / 04:29
1
answer

How to start a Java project with a closed JxTaskPane?

I have several JxTaskPane in a java application and I would like to know how to make the JxTaskPane to be closed when executing it I already solved it in case some Christian needs it. JxTaskPane has a setCollapsed method that receives a boole...
asked by 27.08.2017 / 19:52
1
answer

JAVA | JFrame | Frame = [height of a display] minus [Height of widows taskbar]

Previously ask this question: - > Java | Jframe | Generate with anchor to the right of the screen Now what I want to do is [Well, the high one I already have thanks to Johnny who solved me] that the height of the JFrame does not take int...
asked by 19.07.2017 / 18:58
1
answer

Jframe stuck to another Jframe

Good! I have to first make a jFrame [the black] with a comboBox that will make, depending on the chosen option, a 2nd jFrame [the green], but I want that whenever the 2nd jframe is generated, it is' anchored 'so to the base of the 1st jframe,...
asked by 28.07.2017 / 18:48
1
answer

Problems with setBounds

I'm trying to manipulate a button but even though I use setBounds and setLayout (null) the button appears on my screen where I do not specify it (centered to the top), so it's obviously ignoring the setBounds     public class Ventana extends...
asked by 22.06.2017 / 19:10
1
answer

Problem with form, Window Builder Eclipse

I am trying to create a form to register a user using the Window Builder plugin with Eclipse, compile but at the time of entering the data and clicking on the "register" button, all the errors appear. The program does compile, but when you open...
asked by 30.05.2017 / 02:24
1
answer

Help with serialization in java

I have in the main method: cargarDatos() : It is responsible for entering data from a .dat file. Ventana v=new Ventana() : It is responsible for opening a window with which you enter data. It ends with a defaultCloseOperatio...
asked by 19.05.2017 / 20:01
1
answer

Place the same image in several jframe

I have a program with about 10 jframe, and I have to put in all a logo, which consists of a title and an image. I thought to create an object (I do not know if jpanel, jframe ..) and add it to the jframe of the program, but I do not know how it...
asked by 29.05.2017 / 15:14
2
answers

How do I get a button to eject me from the program but before that play a wav sound? (Jframe Java Netbeans)

I want a button to exit my running program, but in the same way I want to press a sound first (before launching the program) ... How should I achieve it?     
asked by 14.04.2017 / 11:34
2
answers

Is it possible to connect a Frame created in a JFrame, and how to achieve it?

] 2 In the palette there is a Frame option that creates a window inside another window, however, I do not know how to connect them through a button or if this is possible. The window created normally with the JFrame form if it appears in...
asked by 14.04.2017 / 14:06