Top "Jframe" questions

A JFrame is a component and top-level container of the JFC/Swing framework.

How to get the input from a JFrame form?

I am trying to get the input that I submit in a JFrame form and store it in an arraylist. …

java swing jframe jtextfield springlayout
Find the location/Position of JFrame in the window

I am trying to find the Starting location/position of the JFrame in order to map the mouse cursor from …

java swing location jframe
Position on Screen Right Bottom

I need to position JFrame on my screen. But I can't make them appear on the right side of the …

java swing jframe point layout-manager
Showing "JOptionPane.showMessageDialog" without stopping flow of execution

I'm currently working on a project that's getting more complex than I thought it would be originally. What I'm aiming …

java multithreading dialog jframe execution
hiding title bar of JInternalFrame? -java

I found some code online, I edited it a bit. I want to hide title bar of a JInternalFrame. JInternalFrame …

java swing user-interface jframe jinternalframe
Using paintComponent() to draw rectangle in JFrame

I'm trying to create a program that draws shapes (a rectangle on the example below) using JPanel's paintComponent(), but I …

java swing jframe jpanel paintcomponent
Refreshing a JLabel icon image

I'm displaying an image in a JFrame using a JLabel and setting it's icon. It works the first time, but …

java swing jframe jlabel imageicon
Terminate running threads on JFrame close

How do I invoke extra operations when the user closes a JFrame window? I have to stop existing threads. As …

java multithreading swing jframe windowlistener
Sizes of frame icons used in Swing

We can use a list to initialise the window icons using Window.setIconImages(List<? extends Image>). What are …

java swing icons jframe imageicon
How to make a transparent JFrame but keep everything else the same?

I want to make the JFrame transparent, but the image on top of it to be non-transparent. This is what …

java swing jframe transparency translucency