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.
Hi all, I put jTabbedPane & jScrollPane to JFrame. but when i put buttons and labels or any thing i cant adjust them as i want. Is there layouts to jTabbedPane & jScrollPane as jFrames. How to set null.Im using net beans to do my project.I set the layout to null in jFrame.so i put components as i like. Plz tel me how to like that in jTabbedPane & jScrollPane .
One thing you could consider doing is using the Absolute Layout Manager that ships with NetBeans. It seems to me that they didn't recommend packaging it with you apps, but I may just be imagining that. Anyways, it was originally intended to be used within the IDE itself so that you can layout the components visually without all the tricky-ness inherit in the different layout managers.
What I do a lot of the time is use this Absolute manager and then lay everything out. When I'm done, I switch the layout on the container to be Gridbag and it closely approximates what I had done with the other manager.
Dad always thought laughter was the best medicine, which I guess is why several of us died of tuberculosis. -Jack Handy