Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need Help With (Creating New) Frames

 
Chris Keenan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

-Chris
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is it possible to just load that file when the continue button is clicked? Yes you can do this. Just take care to allow only one instance to be shown at a time (in case the continue button is pressed more than once).
Here's another possibility:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic