• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Problem with jframe, serial communication, dynamic changing value and displaying it

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good morning for all. I am new on this forum, but earlier, im search here, and find, many answers for my problem. But today i have problem who boring me long time.
I use a library to comunicate via serial. I use RXTX library. The library good work, in console app. I send a message via virtual serial port, and have recieved earlier sended message.
Here is the code:


But the problem is when i want make a graphical application (Show recieved message in jLabel or other component). Im don't know how make this code, to show dynamic recieved messages sended via serial port, without clicking a button.
When i send text to serial port : coderanch i recieve coderanch and have showed in a component. Or i in the same moment and window i send 10 time text coderach in the same window, I see sended text. I use rs232 ttl to USB converter. Best regards Krzysztof
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic