Screen 2 « Development « Java Swing Q&A





1. Number of screens in CITRIX    coderanch.com

Hi, In our application, we have clients having many monitors (eg. 8). We have the below mentioned code to get the no of screens while he/she is logging in and show all the popups in the application accordingly. The below code works fine in the native environment. But some clients do access it through their CITRIX accounts. In their CITRIX access, ...

2. show dilog at bottom of the screen    coderanch.com

3. Calling a simple splash screen class from main application    coderanch.com

Hello, I am having trouble calling a simple splash screen class from my main application class; My main application class called PUI, with all of my code that is working, I created a very simple splash class called PS. I want the PS to show before the main PUI application loads. Here is the simple code for the PS class. public ...

4. Full Screen on Maximize    coderanch.com

5. Creating a login screen    coderanch.com

okay I am trying to create a chat program but having trouble with the GUI. The main screen needs to come up, but the login screen(possibly a dialog) come up and check for login details first. The user will not be able to access the main screen until the login is verified. I have code to show the main screen, below ...

7. View not coming after certain screen    coderanch.com

Hi, I am very new to swing. I am having a class call Navigation View which has two button. Each button will take us to the next screen. The issues is when run the application from Netbeans, it works fine but when I download from the webserver as a webstart and run the jnlp file, it doesn't take me beyond the ...

8. splash screen and the java app    coderanch.com

For example this is my main application class import javax.swing.ImageIcon; /** * * @author BHADZ */ public class helloSplash extends javax.swing.JFrame { private HelloSplashScreen splash; /** Creates new form helloSplash */ public helloSplash() { initSplash(); // do something here to simulate the program doing something that // is time consuming for (int i = 0; i <= 300; i++) { for ...

9. Shifting screen!    coderanch.com





13. Capturing Screen    coderanch.com

Hi Java Lovers I am using Robot class for capturing image which captures the screen as PrintScreen Command in our keyboard The problem is : It takes the screenshot of curent screen(all parts if some small sixe appl. are also open) I am running my one of automated application in IE The program will capture IE only if it is current ...

14. Swing screen - mock diagrams    coderanch.com

15. java white screen of death    coderanch.com

Hi, We are using a Java Swing Client on Windows XP SP3 system. having been using it for a long time ( 3 years), since last couple of months the Java window becomes white and is unrespnsive, only way to recover is kill it and sometimes when it is killed system automatically restarts. The white screen could happen any time while ...

16. How to resize an application to screen size?    coderanch.com

Hi, I want to know how to re size an JAVA application to the screen size of the user. There are some creations of mine which suits to the screen size of my desktop computer, but when I open them in my laptop, they are too large. I googled for a solution and found ToolKit class can do the screen re ...





17. Installer screen    coderanch.com

18. create screen comaptible for all resoluions?    coderanch.com

Hi All, Please help me ! I have any frame in swing ,i want the frame look and feels is same for all screen resolutions,components does not shattered/shrink ,they fits well in different resolution dynamically e.g Commonly used screen sizes appear to be: 1024x768 1280x800 1280x1024 1440x900 1366x768 1680x1050 1152x864 1920x1080 800x600 1600x900 Please tell tell me how i can set ...

19. Screen meshing into main screen    coderanch.com

With "merges" and "meshes" I'm assuming you mean that the popup's contents are drawn inside the main screen? If that's so, it appears to be a repainting issue. The Event Dispatcher Thread is probably repainting the user interface non-stop. This is often caused by programming mistakes, like causing a repaint inside the painting methods.

20. Need Help on Remote Host Screen Capture    java-forums.org

This is KrishnaRao fro HYDERABAD.i need help on Remote Host Screen Capture.i found you people did this previously.kindly send me code base for me. Iam using Windows having an ERP package, which requires its screens & its datas to be captured from a remote server. Presently Iam able to capture the screen & its datas Now my requirement is this - ...

21. Fullscreen mode problems    java-forums.org

Hello all, I've tried to create simple fullscreen app in Java. And I have some problems with it. Take a look at dialog which need to be displayed above the form. Try to drag it. (I've tested on JDK 5 and 6) Does it possible to fix such problems at all? Java Code: import javax.swing.*; import java.awt.*; /** * @author Victar ...

22. get the details from GUI screen into an java object.    java-forums.org

Hi, I need to find solution for the below requiremet. I have created 2 classes, say class1.java,class2.java. Here class2.java uses GUI screen using swing. I need to get the details user entered in GUI screen through textbox into class1 after the user click enter button. So far i did like, I have created a object obj2 of class2 in class1 and ...

23. How can I implement this in Full-Screen Exclusive Mode    java-forums.org

Hi bro, now I am using a Java Tutorial Software and it has a nice interface. This is the screen-shot of that software : (Because I don't have enough posts to post an image (20 is required), so I attach it) The question that I am wondering is that how can I paint text on a JFrame like in the above ...

24. fullscreen    java-forums.org

hey is there any way i can develop a non windowed application dat runs fullscreen here fullscreen in the sense i want it on the top of all windows and user cannot access any other application until he exits this one. and is there anyway i can make it run in the background... like i want the appl to be running ...

25. Location Issue on multiple screen    java-forums.org

Hi, I am facing a problem, my application requirement to allow user to open as many JFrames (using some option), and move that to any monitor attached and then when application run again those frames should be at that location where they been left. At start up there are total 3 monitors - and these are bounds of each - 1) ...

26. splash screen    java-forums.org

27. Splash Screen How?    java-forums.org

Hello boys and girls; i have implemented an application in java. When i run it i would like to show a Splash Screen. The my application have any process when it started. The principal process are: Connenct to mysql; Drawing swing interface; Populate the JTable... I would the splash screen show these Message ("Connect to database"= when the process is called; ...

28. Prevent object from going off the screen    java-forums.org

29. How to put a splash screen in front of the main UI?    java-forums.org

Sorry. Mate. I should make my question clear. 1. How to show the splash screen and the main UI at the same time? 2. Before the splash screen fade, how to make all the components on the main UI gray out? I look at the SplashScreen API but I don't know which method I can use to implement my idea. Currently ...

30. how to make screen locker in java??    java-forums.org

31. Chess game selection screen    java-forums.org

I am making a chess game with Java. I am not tackling chess AI - the game simply enforces the rules of chess for two human players. Each chess square is a JLabel with a MouseListener which calls the squareClicked(clickedPosition) method in my GameController class. I have implemented almost the whole game of chess like this, but I'm now stuck when ...

32. L&F for touch screen    java-forums.org

Hello, I would like to do a specialized L&F for touch screens that take care of mouse gestures and size of controls. I have never done a L&F before, so i m looking for advices and if possible some tutorials to get me started. Is there a look and feel that i could extend to ease the work ? Thanks a ...

33. How to avoid screen flashing when updating something on the UI ?    java-forums.org

Hi, I am using Swing for my GUI application I a have JLabel and a icon that I modiy that when a tree is clicked That works fine, but when I modify them from another class, screen gets flashes ? Main Class -> Produces GUI class (JLabel updating works fine) Main Class -> Produces PickBehaviour (java3D) that PichHebavious modifies Jlabel and ...

34. Problem with splash screen    java-forums.org

35. time esimation to create a screen using SWING    forums.oracle.com

DeltaGeek wrote: juengling wrote: use matisse http://www.netbeans.org/kb/articles/matisse.html you can make gui IM your buds brew a pot of coffee and do a dump in 15 minutes Pfft, I can do that without Matisse in the same amount of time, and end up with code that's not only readable, but editable too! But no one should edit, or 99% of the time ...

37. removing gui from the screen    forums.oracle.com

38. cant close current GUI screen.wats wrong???.    forums.oracle.com

Your best bet here is to show us compilable code. We don't want to see your whole program, but rather you should condense your code into the smallest bit that still compiles, has no extra code that's not relevant to your problem, but still demonstrates your problem, in other words, an SSCCE (Short, Self Contained, Correct (Compilable), Example). For more info ...

39. Building a GUI to represent a sonar screen    forums.oracle.com

Hi peeps, I'm writing an app in Java to simulate the display found in a submarine's sonar room as part of a final-year project. Most of the stuff is easy enough to put together, but I'm a little stuck on how to create a display object that shows where the scanner is looking by way of the green sweep bar. Any ...