I would like to influence the UI scale of a standard Swing application with default L&F. Unfortunately scaling factor 1.0 is too small and 2.0 is too big. I
This question may seem silly to you, but pls help me. My program works, but slighty incorrect. In the image1 you can see the location of the data in the databas
this is my delete button method, it takes the college name as a primary key and deletes it so the whole record gets deleted. However, it can't be deleted becaus
Eclipse for Windows 64-bit machine - Version: 2022-03 (4.23.0). I am used to having the Type Hierarchy (?) in a tab on the right side of my screen. It was like
I'm attempting to make a simple bullet hell game and am struggling to make smooth movement mechanics for the character. Here is my current code: package bulleth
I wonder if I do some mistakes because I do not get the content of the webpage displayed on the JFrame. Instead, I only get a white page. The error I got was: j
I have a JFrame in which I have populated some data by stored procedure. Now I want to search the data through a JTextField. I used a RowSorter filter method b
I've created a simple JTextField (this will have a mask after and I'll use this in multiple projects) and I'm trying to add in a simple JFrame, however, when I
Background: I am creating a login browser page before my main UI(myGUI) page is displayed. I am using a HashMap to store the correct username and password combi
Heyoo! I'm creating a simple login form using the swing package in java and I am having trouble in checking if the username and password is correct or not. this
Given the following scenario: one has a JComboBox and a JTextField the latter has an InputVerifier providing its own error message. the textField is the current
I make a JFreeChart for displaying values from serial port. It is working well, but I want to make X-axis movable from right to left. It means when plotting the
I have a table that I post with a database connection. I am searching the table, but after searching, selecting the row and bringing the result to the textbox r
Error code shown below : The method setColor(Color) is undefined for the type JFrame package task3; class Execute { public static void main(String[] a
I am using NetBeans IDE 8.0.2 to create my project application. I have created my application's signup page using multiple panels in CardLayout. For users to up
I've made a circle move around (in a circle), but now my application won't move on to the other tasks as I got myself caught in a loop. How do I get out of this
I've made a circle move around (in a circle), but now my application won't move on to the other tasks as I got myself caught in a loop. How do I get out of this
For example if you set the color of a textfield as Color.RED, is there a method to actually return that color? I found a method in the Oracle logs called getCar
I'm making a game in Java Swing. Every time the player levels up I display a new frame on top of the one containing the gameplay which has some options on what
I'm relatively new to java swing, so I don't know to change the menu component in swing with a vertical one.