Questions tagged as 'jdialog'

1
answer

Problems with JPanel exchange within JDialog using Swing

I'm having a problem with a system I'm developing with regard to screen switching. Sorry for the lengthy post, but I could not explain the problem otherwise. It has a JFrame principal with a menu that is JButtons and a JMenuBar ....
asked by 09.07.2015 / 22:51
1
answer

How do I know if a JDialog window is open or closed?

I wanted to know, how can I tell if a screen, in my case a JDialog is open. Is there any event or way to know this? I'm going to use this "information" as a parameter in a condition, for example, if closed screen does such thing. im...
asked by 16.09.2017 / 22:55
2
answers

JDialog does not draw the components in Java

I'm developing an application that will execute a processing soon, and I want a message warning that the process is running stay on the screen while it does this processing. I tried to do with JOptionPane , but since it is a modal window b...
asked by 21.03.2014 / 19:20
1
answer

Open several windows of the same application without accumulating icons in the taskbar

I would like to know how I could create java frames, without opening so many windows in the windows taskbar. For example when I go to the menu and click on customer registration, address book, address type register, 3 windows are opened, it i...
asked by 26.07.2016 / 12:57
0
answers

Set JDialog width according to the size of the column sums of a table

I have the sum of the width of the columns and I need to set this value so that it does not hide parts of the columns and decrease the window. Any suggestion?  I created a method that returns the sum of the size of the columns.  Then I made anot...
asked by 06.07.2015 / 15:47
1
answer

Define which JFrames will be focused?

I need to keep a%% of focus in mind and not allow others to use it until I close this one. Every time you open a new frame the others below it must be inoperative. How can I do this?     
asked by 02.05.2016 / 15:01
1
answer

Move from JFrame to JDialog

I've created a frame of this genre: Butsinceitwastoshowthattheclientwashavingtroubleconnectingtoaserver,itwasbettertoswitchtoJDialogProblem:IcannotgetJDialogvisibleCode:publicclassWaitingJoptionextendsJDialog{//seforJFramefuncionadireitopubli...
asked by 03.11.2014 / 16:16
1
answer

Fill text field with return from another window

I have JTextField instantiated in class rel_tempo . When you click this JTextField , it calls another JFrame of searches. When I perform a search on this new JFrame and click Confirm , I need to fill in the JText...
asked by 11.07.2016 / 16:29
0
answers

How do I make a JDialog invisible when I have dispose in a specific frame?

A button in my application gives dispose to the current frame and creates a different one. But the JDialog that were open when I clicked the button still exist, which should not happen.     
asked by 05.09.2015 / 22:25