Notices

Overclockers Forums > Software > Programming Tips and Tricks
Programming Tips and Tricks
Forum Jump

Need help quick, scrollable box in java

Post Reply New Thread Subscribe Search this Thread
 
 
Thread Tools
Old 05-11-06, 07:24 AM Thread Starter   #1
Avg
Senior Member

 
Avg's Avatar 

Join Date: Oct 2003
Location: NY, Long island

 
Need help quick, scrollable box in java


I want to know who to display a string on a scrollable box, my project is due at noon today and I need to do it before then.

TIA

__________________
Avg is offline   QUOTE Thanks
Old 05-11-06, 03:35 PM   #2
Trombe
Member

 
Trombe's Avatar 

Join Date: Mar 2005
Location: Austin, Texas

 
import javax.swing.JTextArea;
import javax.swing.JScrollPane;

private JTextArea TArea = new JTextArea("String goes Here!");

add(new JScrollPane(TArea));


Assuming of course you have JFrame and all that already working...
Edit: Sorry this ain't before noon; I have found it's a good habit to do homework when you first get it, rather then right before it's due.
Trombe is offline   QUOTE Thanks

Post Reply New Thread Subscribe


Overclockers Forums > Software > Programming Tips and Tricks
Programming Tips and Tricks
Forum Jump

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Mobile Skin
All times are GMT -5. The time now is 01:43 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
You can add these icons by updating your profile information to include your Heatware ID, Benching Profile ID or your Folding/SETI profile ID. Edit your profile!
X

Welcome to Overclockers.com

Create your username to jump into the discussion!

New members like you have made this the best community on the Internet since 1998!


(4 digit year)

Why Join Us?

  • Share experience
  • Max out your hardware
  • Best forum members anywhere
  • Customized forum experience

Already a member?