So I have been messing around with Swing and am starting to grasp general functions with buttons and text boxes etc..
But what I want to do is have a main page (JFrame Form) with 3 buttons and when I click whichever button I want it to open another JFrame form with the options corresponding to that button but cant figure out how to link 2 JFrame forms together and so I can make the appropriate ones visible / invisible when the appropriate button is pressed?
Thanks,
jackiejoe 0 Light Poster
Recommended Answers
Jump to PostCheck that your code for Couple has a setVisible(true) in its constructor
All 4 Replies
BestJewSinceJC 700 Posting Maven
jackiejoe 0 Light Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
weblover 0 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.