title: Joptionpane popup window
body: <p>i'm reading data from serial port for that i've created one window.when i click connect button i'll get another window showing message as "connected" with ok option and at the same time data starts coming but it wont dump until i click ok button of the front window,i want data should dump without clicking the ok button of the front window,how can i do that plz help me.</p>
  
  <p>thanks for reply</p>