Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #3731

Re: Serial Port Communica

From "tar" <tar@THRWHITE.remove-dii-this>
Subject Re: Serial Port Communica
Message-ID <ymiy74q4qn7.fsf@blackcat.isi.edu> (permalink)
Newsgroups comp.lang.java.gui
References <908eadf1-c4b9-4fd2-b0c0-dedc24dedd04@56g2000hsm.googlegroups.com>
Date 2011-04-27 15:46 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
HulkingNightCrawler <TravisPomeroy@gmail.com> writes:

> I am trying to read data off a serial port and then display the data
> in a GUI and I cannot seem to access the GUI in order to do this.  For
> some reason whenever I try to append to the text box the program seems
> to stall out and I cannot figure out why?  Any help would be
> appreciated, thanks!!

Well, the first thing I would try to do would be to eliminate the empty
exception catch clauses.  At the very least you should put something in
that prints the error message and the stack trace.

Silently catching exceptions is a terrible way to debug anything, and is
just downright stupid programming practice in any case.

-- 
Thomas A. Russ,  USC/Information Sciences Institute

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Serial Port Communication "HulkingNightCrawler" <hulkingnightcrawler@THRWHITE.remove-dii-this> - 2011-04-27 15:46 +0000
  Re: Serial Port Communica "tar" <tar@THRWHITE.remove-dii-this> - 2011-04-27 15:46 +0000

csiph-web