hi
What is the difference between in JFrame and JWindow?
If I want to develop a a desktop application either I have to use JWindow or JFrame.
hi
What is the difference between in JFrame and JWindow?
If I want to develop a a desktop application either I have to use JWindow or JFrame.
personally, I never used JWindow, but you should be able to use both.
1) JWindow is un_decorated Container, there aren't any button (JFrame has three, JDialog only one),
2) this window isn't possible close, hide or terminate current JVM without additional Action e.g from JButton, JMenu or another code that call System.exit(i int), best way is use this container as popup window for JFrame,
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.