Popup « JFrame « Java Swing Q&A





1. Pop-up window in Java Swing    stackoverflow.com

Can someone suggest me how to implement a pop-up window in Java Swing. I want the pop-up window to be a modal window (user cannot return to the main window when ...

2. Simple popup java form with at least two fields    stackoverflow.com

This is, I suppose, a very simple question for any Java programmer. My question is as simple as this: When the user clicks a button, I want to show ...

3. How best to manage Java Swing pop-up forms?    stackoverflow.com

I am currently porting my Android app to a desktop app using Java (Swing, NetBeans). I need a main java window and several pop-up forms for user IO. In the android app ...

4. Java JFrame popup ordering (should be always on top but behind old JFrames)    stackoverflow.com

Is it possible to maintain individual JFrame ordering? My java application populates individual JFrames always on top, My question is what could be the approach to populate another JFrames behind "already ...

5. Java Swing; JFrame Popup    stackoverflow.com

I have a JMenuItem callback that calls a new instance of a derived class of JFrame. Whenever the JMenuItem callback is called, the original popup is not brought back to ...

6. Java: how to open new jframe UNDER the parent window    stackoverflow.com

How would i go about creating and opening a new jframe UNDER the parent frame. Im trying to achieve an effect where the new window (undecorated) appears to slide out from ...

7. How to popup a small window in bottom right corner at specified time in Java    stackoverflow.com

I set reminders in my application. I want to popup small window in bottom right corner of the screen at specified time. How can we popup a small window at any ...

8. Qt: how to make decorated rich popup window instead the default QSystemTrayIcon popup window    stackoverflow.com

I have simple notification application, and I'm using Qt 4.7.1 with C++ to write an application that sits in the system tray. Every time a message comes; I need it to ...

9. Catch Java generated JFrame pop-up    stackoverflow.com

I'll make it short and specific. I am blackbox testing a commandline utility in Java (IDE: Eclipse) and at some point it generates a JFrame pop-up, which asks for password. Since ...





10. Java Pop-Up Window to Ask for Data    stackoverflow.com

What code would I use to ask a user to enter their grade into a pop-up window? When a JButton is pressed, I want a little box to pop-up and prompt the ...

11. How to hide a popup window after some seconds if the cursor exits    stackoverflow.com

I have a JDialog as a Popup which shows up for 3 seconds and dispose.
It comes up at cursor position and has to dispose only if the cursor exits the popup. If ...

12. NetBeans RCP - Centering popup window fails to work as expected    stackoverflow.com

 errorPopup= popFactory.getPopup(this, errorBox, 
                    (verifierTopComponent.super.getX()+verifierTopComponent.super.getWidth()/2),
       ...

14. Swing - How is Netbeans code auto popup completion window implemented?    forums.netbeans.org

http://forums.sun.com/thread.jspa?threadID=5432647&tstart=0 -- Regards, K. Gabriele --- unchanged since 25/1/10 --- P.S. Unless a notification (LON), please reply either with an answer OR with " ACK" appended to this subject within 48 ...

15. Creating a popup window using Netbeans Swing GUI builder    forums.netbeans.org

Hello! I was wondering if it is possible to let the Netbeans 7.0 Swing GUI builder deal with the creation of a popup window instead of manually adding it to my code. The reason I ask is I am trying to keep my code as neat as possible and would like to have Netbeans handle the initialization of the popup window ...

16. open JFrame popup on jsp page    coderanch.com

hi all ! i have written a code for create Jframe , & i am open this frame on jsp after click on button (Chart). in this case my frame generate at server side but i want to open it at client side . i am doing all of this stuff first time , am i going correct way ....?? please ...





17. About pop up a window    coderanch.com

Rose, Here is an example of what you want to do: import java.applet.*; import java.awt.*; import java.awt.event.*; public class TestFrameApplet extends Applet implements WindowListener, ActionListener { Frame fr; Button bt; public void init() { fr = new Frame(); fr.setSize( 200, 200 ); fr.addWindowListener( this ); bt = new Button( "Open!" ); bt.addActionListener( this ); add( bt ); } public void actionPerformed( ...

18. how to close a popup window    coderanch.com

Frame extends Window. Window has a dispose() method that realeases the window/frame. In the previous reply if you setVisible to false, you still has an instance of the popup. This isn't necessarily bad, if you want the applet to popup more than once in the course of the running program Mark Spritzler

19. Popup Window    coderanch.com

21. pop-up window issue    coderanch.com

hmm.....what I want is to make it so the user has to press the "close" button in order to exit the screen. right now if they click off of the window they can access the screens behind it making it so they can have multiple messages at the same time. I want to fix it so there will only be one. ...

23. Pause program until pop-up window is displayed?    coderanch.com

Hi, Is there any way to pause a program until a certain process is complete? I have a pop-up window that is a seperate thread. I first call it and set the thread priority to MAX. After that, I call a time consuming process. Problem is that the contents of the pop-up window do not get displayed until the time consuming ...

24. pop up window help    coderanch.com

25. Popup window    coderanch.com

Dear All, How to display tool tip kind of window, similar to the one that will appear in MS office products which we call it as office assistant. It looks like a tip of the day window. This i wanted to display on click of an object. Your ideas will be of great help to me. Thanks in anticipation... Iqbal.M

26. Trying to Popup a new JFrame    coderanch.com

Ok, before you rip me for the code below, I'm just learning this stuff... I'm trying to display a table and then allow the user to click on a line and pop a new window up. (got that far). the problem i'm having is detecting the button clicked in the new popup. Any help would be most appreciated. import javax.swing.*; import ...

27. How can I close a popup child Frame    coderanch.com

import java.awt.*; import java.awt.event.*; public class ChildFrame { public static void main(String[] args) { Frame f = new Frame(); f.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { System.exit(0); } }); f.add(new FrameLauncher(), "North"); f.setSize(300,200); f.setLocation(200,200); f.setVisible(true); } } class FrameLauncher extends Panel { Frame f; int frameCount; public FrameLauncher() { frameCount = 0; Button launch = new Button("show frame"); launch.addActionListener(new ActionListener() ...

28. generating a popup window    coderanch.com

Hi On my interface I have a help button and I was hoping to add a popup window with some hints inside it, whenever a user clicks on the help button. Is this the way most people would deal with a help button? Also, could anyone point me in the right direction for this? where can i get started with this ...

29. Popup Frame    coderanch.com

Hi all, I want to create an application that will popup after every 2 or 3 hours and will remain on screen untill unless all the fields filled by user. Sort of modal dialog box that will capture the screen..sort of shutdown dialog box... any idea..how can we do that.. regards, Shalini

30. Popup Frame    coderanch.com

32. Pop-up window that remember users.    coderanch.com

Hi, I'd like to have a popup window (that gives what's new in the application) when users logged into my application, and provide a check box on that pop-up window for not showing it next time the user logged in. So the application should remember the user who chooses not to see the popup window next time. In a web application, ...

33. How to pop up a JFrame on top of another JFrame ?    coderanch.com

Hi everyone. I have two JFrames, FrameA and FrameB. I want to make the other FrameB to pop up infront of FrameA such that the user will not be able to click on FrameA. What I do currently I disable FrameA when a user takes some action, the only way to enable FrameA is to close FrameB. My problem is that ...

34. pop up window for OSM    coderanch.com

Thank you for your reply. Actually i need to show some popup window in some particular locations of the map based according to latitude and longitude and in that popup window i need to show some weather parameters like temperature, rainfall. Please guide me i could not able to find any way to proceed further.

35. Returning a value from a pop-up window    coderanch.com

Sorry if this is obvious, but I haven't done this before. I've made a JFrame subclass that, upon the user clicking the Input button on the main GUI, will pop up and allow the user to enter some data, after which the user clicks OK or Cancel to return that data to the main GUI. Sounds easy enough, but how to ...

36. Pop-up window    java-forums.org

37. Popup JFrame    java-forums.org

Essentially, what I have is a very basic photoshop. A few of the features require some sort of pop up dialog that will display statistics for the image, or take input from the user to imply onto the image. Now, I have all the code written for actually working on the image itself (I've tested it and it works), but this ...

38. popup Jframe    forums.oracle.com

Hi, i made a popup jframe, but i dont know how to start it in my main Jframe how can i call it? or start it? i tried this: RUN.NewJFrame NewJFrame = new RUN.NewJFrame(); it compile without problems but it dosnt show anything. RUN is the package NewJFrame is the popup frame i want to start