I would probably use labels to show the data (a text area if it needs to be large). Sometimes it is best to set the background to black and the text color to another color to highlight it better. Remember that you can use HTML in these areas if you need to. With the buttons, you could change the text from ON to OFF (possibly change the color to Green for the ON text and Red for the OFF text).
From: javaprogrammingwithpassion@googlegroups.com [mailto:javaprogrammingwithpassion@googlegroups.com] On Behalf Of fabian david camargo amaya Sent: Thursday, January 13, 2011 2:47 PM To: Free Java Programming Online Training Course By Sang Shin Subject: [java programming] Problem GUI and I/O I have to do a Panel that continuously show datos acquired from a sensor/machine sendinga a command and waiting the response using the serial port, at this point no problems at all, but further i have to put buttons for execute others comands such turn on a motor, a valve, do a secuence of orders, etc, using the same port, once the command is executed by interrupting the data acquisition, the gui must show the data continuosly again. I know that i have to use threads, but i don't figure out a good form . Might you suggest alternatives o ideas? -- To post to this group, send email to javaprogrammingwithpassion@googlegroups.com To unsubscribe from this group, send email to javaprogrammingwithpassion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en ________________________________ This e-mail and any files transmitted with it may be proprietary and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of ITT Corporation. The recipient should check this e-mail and any attachments for the presence of viruses. ITT accepts no liability for any damage caused by any virus transmitted by this e-mail. -- To post to this group, send email to javaprogrammingwithpassion@googlegroups.com To unsubscribe from this group, send email to javaprogrammingwithpassion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en