I am trying to achieve a very simple thing, I tried different options but none seems to work. I have a simple JTable, in a column I use JLabel in order to show
I have a panel, in which there are a few buttons. Just for simplicity I'll just use one button in this example. I need each of the button's callback (i.e. cli
Ok, so the program's purpose is to just draw and oval and move it across the screen. The code compiles on Eclipse without an error, but when run, no oval is dra
I have the following GUI that I'm working on. import javax.swing.*; import java.awt.*; public class gui{ public static void main(String[] args) { /
I am developing a project through the spring framework. I am using JUnit to run unit tests, swing for the GUI. When I run the system, the GUI opens and I can ac
I am having a problem where the panel doesn't load in the JFrame and the JFrame itself doesn't set the default close operation, but performs setSize() and setVi
I want to intercept the click on a JRadioButton in a button group. More precise: When JRadioButton A is chosen and the user clicks on JRadioButton B, I want to
I'm trying to add a background to different JPanels (henceforth they will be called Window). These Windows are classes I created and make them inherit JPanel. T
I'm trying to understand Java Swing GUIs. So I created a simple GUI to select a File. When I attempt to use the FFMPEG wrapper to get file information I get the
This is my register page: Registration was working before adding Email checker functionality. This function for check did someone used this email on database.
I am a beginner programmer and I'm currently working on a project by making a simple Login screen layout using Java. So far I'm doing pretty good, but is there
From Integrating JavaFX 2.0 with Swing and SWT there is a code that allows you to embed a JFXPanel inside a Swing JFrame. I was wondering is there a reverse of
I'm a beginner with GraphStream and Swing, I would like to insert a Graph in a JPanel, but while trying I get the following display: Main Frame I added a graph.
I installed JFormDesigner for IntelliJ with an evaluation license to convert some forms from NetBeans, and upon realizing that it put a huge ugly watermark on e
I am attempting to have multiple JPanels that can "overlap", also allowing me to perform custom painting. For this I am using a MainPanel, which extends JLayere
I am writing a text editor. And here I ran into a problem. I need to implement UNDO and Redo function for JTextArea. For this I use UndoManager. But, if I cance
I am working with the Java Swing library. I have two rectangles of the same width and height and the same coordinates. I want to combine them into one so I can
I added some rows to a DefaultTableModel, but none of them was shown. My question is - what is the problem? It seems to me like Intellij idea just playing a jo
I was wondering how to dispaly colored emojis in swing. I have a feeling that the Swing (awt) font engine is unable to do this. I've tried using the windows emo
I would like to draw multiple objects like ovals, rectangles and lines together. But somehow I can draw only an object. When I try to draw ano