AlejandroArias wrote:
Hi, I need create 3 Frames or containers (I don't Know),
I'll assume you are creating a Java desktop application using Swing for
the GUI. In Swing the Frame class is named JFrame. Swing has many types
of container.
If you don't know how to choose between "Frame" and "container", try
each in turn and see which works out best.
each frame must have a container/frame
and each container 3 boton,
> but between each main frames the desktop is visible.
somebody know how to start this proyect?
Easy, I always start my Java desktop GUI projects in exactly the same way.
I create a ten-line "Hello World" Swing app from a template and
progressively modify it in small (tiny) steps. After each small change I
compile it, correct any syntax errors and run it (should be a
single-button press using an IDE such as NetBeans Eclipse, etc). I don't
add more features until what I have works the way I expect it to.
So start by writing an App that puts one Frame (or container) on screen
- no buttons, nothing else.
See HelloWorldSwing.java at
http://java.sun.com/docs/books/tutorial/uiswing/start/compile.html