Sponsors: Michael Fertik - Best JAVA Web hosting Company & 30% off


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-28-2009, 03:14 PM
Member
 
Join Date: Nov 2008
Posts: 50
Rep Power: 0
ashin is on a distinguished road
Cool Label in array SWT
hi guys... in swing you can set the jlabel into array example

String labels={"one","two","three"};
JLabel lbl[] = new JLabel[labels.length];

for(int i =0; i<labels.length; i++){
lbl[i] = new JLabel(labels[i]);
}

how about in SWT? is it possible too? tnx...
__________________
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
First SWT Label Java Tip SWT 0 07-11-2008 04:38 PM
Label Alignment Example Java Tip javax.swing 0 06-27-2008 07:49 PM
Example of SWT Label Java Tip Java Tips 0 01-09-2008 12:02 PM
SWT Label JavaForums Java Blogs 0 12-31-2007 04:53 PM
How to set an Icon in a Label? Soda New To Java 2 12-07-2007 12:38 PM


Java Forums is supported by the best jsp hosting.

All times are GMT +2. The time now is 08:14 AM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org