My app is called MyGram, a school project. I want this app to function like instagram, everytime you select an image, it should show at the top. My c ...
My app is called MyGram, a school project. I want this app to function like instagram, everytime you select an image, it should show at the top. My c ...
When I tried to run my program, it is always an error. The 5 JButtons are not appearing at the west (left) of the MainFrame. I used the BoxLayout for ...
There are a lot of Layout Manager and it’s kinda overwhelming and I am confused on to what layout manager to use in order to display the Left Panel (L ...
I have been using MigLayout for a while and i never encountered this problem. For some reason the hidemode constraint is not working and i can't make ...
I have a normal content pane in Java (IDE: Eclipse) and a JTextField. Now I want the text field to always be on the far right, even if the size of th ...
So, i'm making a java battleship game with a GUI from Java Swing. I actually designed the borders (a very initial way) and now i'm trying to make a we ...
Currently, the problem I am trying to solve is how I get both my image and button to show up. When I have the following line in the code the image sh ...
I have a JFrame with five buttons added to the contents panel. I intended for the X axis to begin at the very top of the frame, however, when the fram ...
Im building a inventory Gui application and I want the items to be searched with the 1st letter of the description. So, I need the 26 small buttons (w ...
So I have started a calculator from scratch in order to practice Java knowledge. I have a slight problem, when I'm assigning buttons to a JLabel using ...
I am learning how to use GridBagLayout from Java Swing... In this example I want to put 4 elements in each row as you can see in my code: As you c ...
so basically, when I add two panes to container with BorderLayout I have a something like padding and I have no idea how to fix it below the code is ...
I am trying to layout my JPanel such that: The information label is at the top, The text area is directly below, this and the info label go acro ...
I am trying to build a table look with the GridBagLayout, but it keeps centering everything. I don't know why it is doing this. My insets are set at 5 ...
I'm having a problem with a layout I'm trying to do in java. I have 2 panels in a 800x600 frame. The first panel "gamePanel" is (600x600) and the seco ...
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 ...
I'm trying to create a GUI with 3 components arranged vertically centered in the middle. Now I've created the components but I cannot find a way to ad ...
I don't know which is the best layout to use for this image, I think maybe grid layout (5*1) may be helpful but I can't add multiple components in one ...
I'm running this in IntelliJ and the keyboard should be at the bottom (this.getContentPane().add(keyboard, BorderLayout.SOUTH);) but it's stuck above ...
I'm currently making a GUI for a small game project, but I'm having trouble with the keyboard layout, specifically with the home row and bottom row. I ...