Linked Questions

4 votes
2 answers
2k views

My aim is for an action listener to close a specific JFrame when the user hits the JButton to quit. Overall, when the program starts a large JFrame opens then a small one in front....in my code the ...
lecardo's user avatar
  • 1,212
-2 votes
2 answers
1k views

I have a frame (main). There are two buttons: Items and Sale. When I click button Items it opens a frame (Items) and I want to, when I click on button Sale, it should close the Items and open Sale. ...
Manjit saha's user avatar
0 votes
0 answers
820 views

What is the best way to create a java application with multiple screens? For example, pressing a button switches to the next screen. Should I use a JFrame for each screen? Thanks
Metiu's user avatar
  • 3
-1 votes
1 answer
655 views

So, I try to make a Java Program, that when you run it, the first screen will be welcome, under it button "login", under it "register". And now I need to figure how if I press one of these buttons, ...
Zdeněk Krast's user avatar
0 votes
0 answers
579 views

How to close my opened GUI form and open another GUI form with just a button in first GUI form. this is my first GUI form package com.company; import javax.swing.*; import java.awt.*; import java....
Jeewantha Lahiru's user avatar
0 votes
1 answer
336 views

I am trying to make a simple Customer tracking program.It stars with a window with 4 buttons and you choose a task to do. I need to navigate between different windows -Home Menu -New Customer -...
user1906555's user avatar
0 votes
0 answers
94 views

I have to use netbeans IDE and swing to create GUI for my application. I need several windows, one at the time. I could of course use one JFrame and set visibility of components to false once they're ...
MicrovaveProgrammer's user avatar
0 votes
0 answers
58 views

I have a class called NewSale which extends JFrame The JFrame is used by the user to create a sale (add products, choose payment method, etc). When the user starts a new sale the software ...
Jao Assy's user avatar
  • 125
0 votes
0 answers
57 views

In my code i generate some images and display them every image in a jframe, but when i close on the jframes i found all the other closes as well. I want when i close one of the jframes, the others ...
Amrmsmb's user avatar
  • 11.6k
0 votes
0 answers
44 views

If I create a frame inside the 'main()', then only one instance of the frame would be created. If I create a frame inside a constructor, then each time the class is instantiated, a new frame would ...
Sivani's user avatar
  • 101
0 votes
0 answers
45 views

So the Login.java (first form) is like a homepage then a JButton "Start" is in the middle of the Login.java which appears the LoginStudent.java where the user enters their email and password....
curiouscz's user avatar
248 votes
11 answers
51k views

I want to add JTable into JPanel whose layout is null. JPanel contains other components. I have to add JTable at proper position.
Sagar's user avatar
  • 2,505
72 votes
14 answers
166k views

I have created one GUI in which I have used a JFrame. How should I make it Modal?
om.'s user avatar
  • 4,279
16 votes
7 answers
110k views

I have a netbeans Java application that should display a JFrame (class StartUpWindow extends JFrame) with some options when the application is launched, then the user clicks a button and that JFrame ...
Jim_CS's user avatar
  • 4,192
20 votes
5 answers
13k views

Unfortunately, it looks like this recently closed question was not well understood. Here is the typical output: run: Trying to Remove JDialog Remove Cycle Done :-) Checking if still ...
mKorbel's user avatar
  • 110k

15 30 50 per page
1
2 3 4 5
87