Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2007

Tip: Looking for answers? Try searching our database.

Java Frames

Thread view: 
AlejandroArias - 14 Nov 2007 22:17 GMT
Hi, I need create 3 Frames or containers (I don't Know), each frame
must have a container/frame and each container 3 boton, somebody know
how to start this proyect?

but between each main frames the desktop is visible.
Sabine Dinis Blochberger - 15 Nov 2007 09:55 GMT
> Hi, I need create 3 Frames or containers (I don't Know), each frame
> must have a container/frame and each container 3 boton, somebody know
> how to start this proyect?
>
> but between each main frames the desktop is visible.

That should be really easy, especially when you use an IDE (Integrated
Development Environment) like NetBeans or Eclipse.

Also have a look at Suns Java tutorial [1], specifically [2].

[1] http://java.sun.com/docs/books/tutorial/
[2] http://java.sun.com/docs/books/tutorial/uiswing/index.html

If you run into more specific problems, post back.
Signature

Sabine Dinis Blochberger

Op3racional
www.op3racional.eu

RedGrittyBrick - 15 Nov 2007 11:18 GMT
<reordered for clarity>

> 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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.