This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
hello all, i m new to swings........
kindly help me insertin a textarea in which i want
to display the String stored in data.. i have problem addin the panel to the frame..
shud i make a new frame object and then add panel to it(frame1) i want my String(here named as data) to be displayed in a GUI window
or can i do it with the frame instance i made it in main method..
kindly correct me if i m wrong any where
I dont really understand why your UI is designed that way but your culprit is this line
or rather, you haven't set any size for this frame instance.
JFrames default to a size of 0,0.
Also this frame instance is being hidden behind your frame which displays the radio buttons.
You also have not set any default close operation. So even when you close the frame instance, the jvm is not terminated.