Results 1 to 3 of 3
Thread: JDesktoppane?
- 01-31-2009, 05:27 PM #1
Member
- Join Date
- Jan 2009
- Posts
- 18
- Rep Power
- 0
JDesktoppane?
Hello all there.
Well, I'm starting a project for the sake of learning a little more about java and consolidating what I think i already know :)
soo....
I'm looking to make a little program that will allow me to inventory a bunch of things (My garage at home's full of modeling stuff) so when I clear it out I can record what I have, what condition its in etc. So I want to create a stand alone application of a fixed size that I can basically just interface with a simple database with drop down menus that will open fixed JFrames within the main frame to show the data...
My real question is though,
I'v been playing with JDesktoppane and I'm starting to think its not as appropriate as I was thinking... Everything (frames wise) is to adjustable and I'd rather keep the frames of a pre-determined size (filling the internal frame, non-adjustable etc)...
Are there any other areas/approaches anyone can suggest I look into that may prove more fruitful or have i completely missed a resource that contradicts my assumption that JDesktoppane cannot be set to be restricted?
Best regards
-Jvr
-
Have you looked at the JInternalFrame (which is what I think you really are referring to here) API? If not, you may wish to have a peek and search it for the term "resize". It might give you a helpful method or two.
Best of luck!
-
Also, is your desire to display multiple panes at once, or would you rather only display a pane of data at certain points of the program, then cover it up with another pane of data?
If the latter, then perhaps you're right JDesktopPane/JInteralFrames are not what you want. Instead perhaps you want JTabbedPane or a JPanel that uses the CardLayout (to use to swap other JPanels)
Similar Threads
-
How to clear JDesktopPane
By hendrix79 in forum New To JavaReplies: 12Last Post: 12-10-2008, 11:25 PM -
JDesktopPane demo
By Java Tip in forum javax.swingReplies: 0Last Post: 06-26-2008, 07:43 PM -
How to add SystemTray to JDesktopPane
By elisabethkron@yahoo.co.uk in forum Advanced JavaReplies: 0Last Post: 04-07-2008, 08:37 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks