Skip to content
Advertisement

How do I get “Goodbye Window” to show up in Java?

I have a Java network application and this is what I want to do: After user logs out, his interface window closes. Now, I want for another window to show up that will say something like: “Thank you for using our application”. This final window should be borderless and without any available option, more like a plain picture (jpeg? why not?). By clicking on it, user will be sure to close this final window.

I googled and couldn’t fin anything on this matter, it’s hard to phrase the question.

I hope someone helps me…

Advertisement

Answer

https://docs.oracle.com/javase/1.5.0/docs/api/javax/swing/JWindow.html

A JWindow is a borderless, undecorated JFrame (no titlebar or buttons).

This should be what you need.

Advertisement