• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Need Help With (Creating New) Frames

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:
reply
    Bookmark Topic Watch Topic
  • New Topic