this is how they taught you to draw Use Case Diagrams:
Friday, May 28, 2010
Thursday, May 27, 2010
Class Diagram Update
Friday, May 21, 2010
Java RXTX close port solution
class CloseThread extends Thread
{
public void run()
{
serialPort.removeEventListener();
serialPort.close();
}
}
public void closePort()
{
try
{
if (serialPort != null)
{
serialPort.getInputStream().close();
serialPort.getOutputStream().close();
new CloseThread().start();
}
} catch (Exception e) {}
}
/*
Late Note(11.17.2011): I see that there are plenty of views on this article and after more than one year I realize that the context might look ambiguous. What I didn't mention before is that this is an inner class to the class in which you have the methods for communicating over the serial port, and in here serialPort is an object of the SerialPort class.
*/
/*
Late Note(11.17.2011): I see that there are plenty of views on this article and after more than one year I realize that the context might look ambiguous. What I didn't mention before is that this is an inner class to the class in which you have the methods for communicating over the serial port, and in here serialPort is an object of the SerialPort class.
*/
Labels:
close,
communication,
java,
library,
port,
rxtx,
serial,
serialport
Sunday, May 16, 2010
Friday, April 23, 2010
Wednesday, April 21, 2010
Oh My God!
Yes, I'm a boy or a man(pick one) and I don't understand why some girls do certain things up to an unusual extent. I had the patience today to watch this video entirely but I wonder whether these girls ever feel that they are fake. I mean, I'd think it would be good if what she was doing was something that would have a long term effect... like make her face naturally look that way.
While I was watching the video a friend sent me a link to a web page having pictures of the Icelandic active volcano that puzzled the airline companies these days. Great photos of an interesting phenomena.
While I was watching the video a friend sent me a link to a web page having pictures of the Icelandic active volcano that puzzled the airline companies these days. Great photos of an interesting phenomena.
Subscribe to:
Comments (Atom)