how do i add multiple pane in frame dynamically that is in my frame there is one text box which take value from user when user click on ok button i have to add that much panel in jframe how do i do that ?
sj5536
5
Junior Poster in Training
Recommended Answers
Jump to PostSo your question is,
since you can't add a text field strait into a JFrame, how do you add a JPanel into the JFrame so that you can display the JTextField in it?If this is what you mean, then here is the solution.
You need three things:
…
All 4 Replies
WolfShield
32
Posting Whiz in Training
WolfShield
32
Posting Whiz in Training
mKorbel
274
Veteran Poster
Punit.Shah
0
Newbie 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.