• Post Reply Bookmark Topic Watch Topic
  • New Topic

Thread or Not for starting appilcation label value  RSS feed

 
Georgios Chatziefstratiou
Ranch Hand
Posts: 106
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there , i have a create a swing application and i need a small advice.

When i start the application i want 4 Labels to uninitialized with a message taken from some jComboBox values .

simple

When the application is started all the jlabels are empty(4 Jlabels).

So then if i use one jComboBox(4 JComboBox 4JLabels 1 for every JComboBox ) the value will change(the JLabel Text) with the value of jComboBox.


I want that the Jlabel gets the value of a jComboBox when the application starts and wiat for a change if this change happens but in all 4 JComboBox and 4 JLabels,does anyone knows how can i do that?Thread is a good idea or not any other way ?If a Thread is good any example?

Thanks
 
Georgios Chatziefstratiou
Ranch Hand
Posts: 106
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any one ?Nothing.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
nothing - and for good reason - your
question is poorly worded.

you say you want the application to start
with the labels uninitialized. then you
say when the program starts the labels
get their values from comboBoxes.

best way to descibe it is to post a demo
program (just labels and comboBoxes in a
frame) and tell us what you want vs what
you get.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!