Originally Posted by keffie91 Hello I have created an optionwindow for my chat program, but if i open the option window and click the cross in the right corner, not only the optionwindow terminates but also the chatprogram. Can someone tell what i can do about it, and are there other ways to make a kind of optionwindow? thanks keffie91 this is the source: ChatProgram.java Java Code: import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; ...
import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*;