Text « Layout « Java Swing Q&A





1. Positioning Java Shape Object within a JPanel    stackoverflow.com

Hello folkes I have been working with text in Java2d. I am scaling text by using an AffineTransform and via a TextLayout object generating a Shape object representing the text. The ...

3. text box - GridBagLayout    coderanch.com

Hello! I am wondering how I can modify this code correctly so that the size of the text boxes are limited. I've set a size but when I compile and run the text boxes are all a uniform size. I think the problem is that the GridBagLayout I'm using forces them to size to the window but I'm not sure how ...

4. How can I add another text box under this layout?    coderanch.com

Hi I'm using a border layout for the whole GUI (while using grid layouts for some of the parts as you can see), but I'd like to know how I could add another text box under the buttons labelled North, South, East, West. I've already assigned this menu to 'South' in the border Layout. I'd just like to know the best ...

5. How to position text in GUI    forums.oracle.com