Results 1 to 3 of 3
- 01-31-2009, 06:27 PM #1Member
- Join Date
- Jan 2009
- Rep Power
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 :)
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?
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)
- By hendrix79 in forum New To JavaReplies: 12Last Post: 12-11-2008, 12:25 AM
- By Java Tip in forum javax.swingReplies: 0Last Post: 06-26-2008, 07:43 PM
- By firstname.lastname@example.org in forum Advanced JavaReplies: 0Last Post: 04-07-2008, 08:37 PM