wood burning stoves
The moose likes Beginning Java and the fly likes Need Help With (Creating New) Frames Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic

Need Help With (Creating New) Frames

Chris Keenan

Joined: May 30, 2004
Posts: 2
Hello all - I'm hoping someone could give me a hand with a problem I'm having. I'm creating a bibliography program and I'm using multiple different types of sources (i.e. encyclopedia, dictionary, book etc) but each of these has a different requirement for what needs to be in the media type (i.e. Online, In Print, CD-ROM)

I'm using Choice drop down bars to allow the user to determine what source and media type they want to use.

Right now my layout looks something like this

<Source Dropdown> <Media Type Dropdown> [Continue Button]

After selecting a source and media type, the user would then hit the continue button which would open up a new frame which would have all the input fields for the appropriate source and media type.

I'm not quite sure how to do this though, I've already created another JFrame Form in a different file... is it possible to just load that file when the continue button is clicked?

Thanks for any help you can give me

Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Welcome to JavaRanch, Chris!

Round these parts, posting the same question in multiple forums is bad practice. It can make it rather difficult to follow a conversation, plus folks spend time saying things that were just said.

Now, your duplicate post is in the Applets forum, but your question centers on what appears to be a frame-based GUI. If your question indeed surrounds Applets issues, then please continue this in your duplicate post.

If your question is more to do with a frame-based GUI concern, then I'd recommend visiting the Swing / JFC / AWT forum.

I'm closing this thread.

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
I agree. Here's the link: http://aspose.com/file-tools
subject: Need Help With (Creating New) Frames
It's not a secret anymore!