Heloo;
when i drag the window; then how i stop changing the size of textfield and buttons, and how i fixed the size of window.i shall be very thankful to all of you kindly give me the answer...
080346 0 Light Poster
Recommended Answers
Jump to PostDo you want the second text field to appear only when needed?
An easy way is to create it when you build the window at the start, but make it invisible (setVisible(false)). Then when you want it to appear make it visible and pack() your window again.
All 4 Replies
Dean_Grobler 48 Posting Whiz in Training
080346 0 Light Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
Dean_Grobler 48 Posting Whiz in Training
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.