Top « JTextArea « Java Swing Q&A





1. How to keep menu item on top of text area?    stackoverflow.com

I'm using netbeans to write the GUI. I have a menu bar with few menu items and the main window has a text area all over it. when I press the menu item,I ...

3. Starting TextArea from the Top    coderanch.com

4. set the cursor back to top in a TextArea    coderanch.com

how do i get my cursor back to the top of the JTextArea after i hit enter to send the text over the connection. it returns to the next line after i hit enter, then i try and set the caret position = to 0, but that only affect that line. how do i make it to where even though im ...

5. need to make JTextArea scrollbar at top    forums.oracle.com

I've created a JFrameForm using GUI netbeans 5.0 When i created a JTextArea.. then i just put a lot of words inside it, then it'll automatically created a scrollbar there. The problem i face is when i try to execute it, the scrollbar is at the bottom. How do i make it to start at the top? Please help. i've asked ...