Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reading RS232 and displaying contents on Frame

 
Fernando Hood
Greenhorn
Posts: 20
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I having difficulty tying the serial port class to the UI and displaying its data. I was able to do this in vb relatively easily...








 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post:
  • What you're trying to do;
  • What exactly is going wrong;
  • The relevant code?


  • I understand that you're attempting to access serial ports through Swing - but this is actually two (or more) separate processes - one is to access the serial port and send/receive some data; the second is to display this data in a Swing GUI. Which part are you having problems with, and what exactly is going wrong? Are you getting any exceptions?

    The code does download, compile, and run - but it seems to just be a generic "add two numbers in a Swing form" example (built through Netbeans) mashed together with some javax.comm serial port stuff. Does the "add two numbers" stuff have anything to do with your problem? (If not, why post it?) I'm not sure what I'm supposed to do with the GUI or what results I'm supposed to see.
     
    I agree. Here's the link: http://aspose.com/file-tools
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic