Skip to content

Tag: user-interface

java gui help needed

I need some help with gui in java. I am an absolute beginner with java and programming. I copy pasted this code in BlueJ import javax.swing.*; class gui{ public static void main(){ JFrame …

How can I remove border on JLabel?

So I am trying to start a graphics program, where I have a JFrame that holds multiple JPanels. The JPanels need to combine to create 1 image, however when I run my program I see borders around the images. I cannot quite distinguish if the border is caused by the JLabel that holds the image or if it is because