Application Icon 3 « Development « Java Swing Q&A





1. Creating a notepad application with java    java-forums.org

2. Help, GUI Application    java-forums.org

3. JNLP - Swing application compiled in jdk1.5 not working in jdk1.6    java-forums.org

I have one swing application, compiled in jdk 1.5 and deployed in JNLP with jdk 1.5. When client machine try to access the application and having jre 1.5 then it works fine. but if client machine having jre 1.6 or version greater than 1.5 then application does not work properly. Please help me, i got stuck and not able to solve ...

4. How can we use JCalender in Java Swing Application?    java-forums.org

Again, you're talking about a class that is not part of the standard Java library, and while you may find someone here knowledgeable about this class, your odds are somewhat low. Again, the best way to get information about this is from either the literature that comes with JDateChooser or from a support site.

5. convert java application into an exe    java-forums.org

Hi all We have developed a java application using swings. the application is running well and now we want to make an exe file for this application. I have tried some tools like JSmooth,JLauncher but I am unable to get the desired result. Actually in my application there are some folders such as rootdirectory/images - contains images rootdirectory/properties - contains properties ...

6. designing application in swing    java-forums.org

my application looks like simple windows notepad application where one menubar is there on top ..having several menus with menuitems like notepad has ,but my applicationm is not a text editor ..ok if i click on any of this submenu, i want respective controls or different frames to appear below that menu bar .. or center of my application window .. ...

7. Existing swing application    java-forums.org

most likely you would need to manually edit the code. as GUI development tools either assume the application is built using a platform API, or toolkit, and those that don't use comments, metadata, or follow a convention. and the success of using these would depend on if the existing application is developed using one of these approaches. You could probably create ...

8. Reg: AWT sample application    java-forums.org

9. Notepad Application (Swing)    java-forums.org

Here is my code: it opens all extensions i need to limit it to .txt , .dat , .csv and .sh. package com.notepad; Java Code: import java.awt.FileDialog; /** * * @author tmotseothata * */ public class Notepad extends Frame { /** * @author tmotseothata * */ private static final long serialVersionUID = 8462657633177163105L; // declaring variables String filename; TextArea textarea; //enabling ...





10. is it possible to Close a widnow application with Java    java-forums.org

Sorry Fubarable, but I don't seem to connect your link with the thread. But I get the sense that JVM could use the "Windows Language " to do this thread. But analyzing it could be a troublesome for a developer. Just looking at the codes I have seen on the link(s) you've provided.

11. Loading Problem Of Java Application    java-forums.org

12. Swing application advise needed    java-forums.org

Hi I am a newbie here I dont have much experience in GUI kinda java like swing I need to develop an application in swing and that app should be deployed on several client machines. the application should/will connect 2 backend oracle DB and needs to write/update/read from any of the client machines. I can NOT do it on jsp since ...

13. Java Application - weird behavior    java-forums.org

We can't really help you without seeing any code. If you want help with code, you'll have to provide some code. And no, we don't want the whole thing- we want an SSCCE that demonstrates the problem in as few lines as possible. Boil your problem down to the bare essentials. Take out any code that doesn't impact the problem directly. ...

15. Protect GUI swing application from piracy    java-forums.org

Hello guys, What should I do to protect my swing application from being shared.I made some application and now I want to add some protection like every professional software has. I am talking about softwares like audio cutters,registry tools etc. which needs license code to unlock. Please provide me some tips on this or just post some links where I can ...





17. simple Swing application prevents logoff/restart    java-forums.org

This simple Swing application does not exit when the users logs out or shuts down Windows. The user is presented with the standard windows dialog indicating that a process is not responding and the user is prompted to "End Now?". The Java process never exits, and the user must press either "End now" or "Cancel" buttons to continue the logout or ...

18. Integrate Eclipse RCP Help into Java Swing application    java-forums.org

Hi Everybody, Can you please tell me how can i integrate the RCP Help support into Java Application ? I have created RCP help support and is integrated into RCP application. but now i have to integrate the help support into a swing application. Looking for your valuable response. Thanks in Advance..!! Abhishek N

19. developing GUI application    java-forums.org

Hello, I had started to create gui applications using swing in eclipse. However I found it very hard to understand. Moreover aranging the buttons, text fields etc. are not easy to understandable. I don't understand. And then I decided to move to netbeans to create gui applications. In netbeans it is easy to create gui applications however it is not as ...

20. First GUI application.    java-forums.org

I have to develop a GUI application similar to the one attached in the name "sample GUI". I don't know much abc of developing a GUI and I can't read any tutorials for the time being because I am really short of time. It uses two classes I have, named DNA and Protein. I have attached a file named "mine gui" ...

21. Urgent: Swing application for stopwatch producing different output after a few runs    java-forums.org

Hi, I know this may sound very very stupid and highly improbable , but a swing application that i wrote for implementing a stop watch produces different output after few times of build and run. The actual problem is that for the first 4-5 times , my stop watch runs perfectly when i compare it side by side with the stop-watch(in ...

22. How to create Heat map for swing applications?    java-forums.org

het all, i'm trying to build a tool that will locate a component on a swing application (eg a button or text field) and 'highlight it'. i was thinking about using the idea of heat maps for highlighting... did anyone ever used such a thing and maybe can indicate how they can be generated for this idea because i'm not finding ...

23. ZK as GUI for a stand-alone application    zkoss.org

Orignial message at: https://sourceforge.net/forum/message.php?msg_id=3952410 By: mabap Since the GUI components provided ZK seem to be quite complete I wonder if anyone has ever attempted to build the GUI of a stand-alone application with ZK. I was thinking about it, because it would be a) cool ;-) b) a way to rapid-prototype the GUI c) nearly automatically make the application code migrateable ...

25. Swing application basics - I think    forums.oracle.com

I'm looking for some guidance. I've been doing so much reading and prototyping that I believe I've become a bit axel-wrapped. Here's what I'm trying to accomplish. I'm attempting to write an application that will eventually do device configuration for a hardware toy. I want to display an image of the device as the background of my window. There will be ...

26. to exit from swing application(reply soon )    forums.oracle.com

27. Can Eclipse use to GUI Application development    forums.oracle.com

you can develop GUI apps using notepad, or vi, if you like. presumably you're really asking if Eclipse has a visual editor in it? Callisto releases can come with a visual editor installed, and there are several plugin visual editors around. personally, I don't like them one little bit, and don't use them. but others will disagree but the answer is, ...

29. When an application is almost finished (metaquestion on GUI)    forums.oracle.com

Hi, finally my application is almost done. The set of API seems to work pretty well, I can use them via a dedicated PhoneBookTestConsoleUI class working in console, and documentation (use case and such) is finished. On this forum you suggested exactly this: do the API, do some console program to test them, and go with the GUI. In fact... it ...

30. Swing Applications Starting Maximised    forums.oracle.com

31. Methodologies for Creating GUI applications    forums.oracle.com

Hello All, I really appreciate the quick response i got from my previous question, i am most grateful. However, can someone tell me the best methods you use in creating GUI applications. Like basic steps and what you should look out for to ensure that your GUI applications come out right. Thanks!

32. Problem in calculating in GUI application    forums.oracle.com

I did not ask you to put system.out.println in this case, its a common way people debug, or they use breakpoints to debug. In this case the bagels object is not initialized, and hence when you use that object it throws NullPointerException. Initialize the objects first, then use them to call methods or the class variables.

33. Distribute GUI Application    forums.oracle.com

34. Best setup for a swing application    forums.oracle.com

35. GUI application    forums.oracle.com

The question is: How come my nested panels and components aren't showing up on the JFrame? If you cut and paste the code into your IDE, you'll see that the frame opens up empty without any nested panels in it. How do I adjust the program to get the panels to show up? Edited by: infinitelyLooping on Oct 7, 2008 6:04 ...

36. Could someone help me with this gui application    forums.oracle.com

{code}import javax.swing.*; import java.awt.*; public class ServicePanel extends JFrame { private final int WINDOW_WIDTH =500; private final int WINDOW_HEIGHT =500; public final double OIL_CHANGE = 26.00; public final double LUBE_JOB = 18.00; public final double RADIATOR_FLUSH = 30.00; public final double TRANSMISSION_FLUSH = 80.00; public final double INSPECTION = 15.00; public final double MUFFLER_REPLACEMENT = 100.00; public final double TIRE_ROTATION = ...

37. license for swing application    forums.oracle.com

Hello guys, I need your help about a question. In the next days I'll develop a java application (swing application) for a customer. What I need is to forbid possibility to copy this application on other pc, so I need some license system. How can I bind installation of application (that is running of jar) on a specific pc and forbid ...

38. Swing application Flow    forums.oracle.com

My problem is once the main page visits the 2nd page, it executes the code I click a button it works fine. If I try to click the buttons a second time on the it doesn't work correctly. If I have a System.out it will Print but it doesn't access the database or any of that stuff the 2nd and third ...

39. Building Maps into Your Swing Application    forums.oracle.com

Hello, I want to incoporate a map into my java application (NOT a web application). I know you can do something using Googlemaps but i want far more functionality as I am using GPS NMEA data. so for one example: my system already gets GPS data and parses it into lat/long coords. Using the map then, it should use these coords ...

40. Separating application logic from GUI    forums.oracle.com

I don't know if this is the right forum to ask this question. I know that It's a very bad practice to embed application logic in GUI code, they have to be separated and communicate in some way. I've read somewhere that they need a kind of an adapter class or a knowledge of design patterns, which I actually don't have. ...

41. Simple Swing application    forums.oracle.com

Without looking at ALL THAT CODE my first guess would be that you are forgetting about the scope of some variable. I.E. You are trying to manipulate sone data element whether it be a number, array, etc inside a function/method looking for it to assign itself somewhere but when the function returns to the call stack any local data value is ...

42. Java swing application runs slowly on JRE1.5+    forums.oracle.com

Hi, I have a java swing application with Window GUI which runs on user PC (app.jar). It is good to run on JRE1.4 but JRE1.5 or 1.6. Performance is very slow especially when we switch to different tabs and type on email window. It caused lots of clients' complain. Can somebody know what's reason and how can I solve this problem? ...

43. Open Swing application from another swing application    forums.oracle.com

I would like to open a swing application from another swing application, both are stand alone applications. I need to open with different JVM. can I use the Runtime.getRuntime().exec("java second"); In first swing application , I have a button , if I press the button, then the second application should launch with another JVM. If I close the first application , ...

44. Problem using Vector in swing application    forums.oracle.com

45. invisible components in swings application    forums.oracle.com

Hi all I am having a desktop application developed in swings (jdk 1.4) , it is properly working in java 1.4 & java 1.5, but when a compile and run the same code in java 1.6, my application is transparent, all the components in the window are invisible, when I minimize and the maximize the application all the components are visible ...

46. Communication between 2 Standalone Swing applications    forums.oracle.com

Hi all, I would like to communicate between 2 standalone SWING applications. Like below. - 2 applications are running in the same system. - If I action performs in the one application (Ex: if I enter one string value on TextField and press OK button) , I need that string value in the second application . - If the first application ...

47. problem in using swing application    forums.oracle.com

hi friends, iam developed a swing gui in that iam going to give server port number and number of clients handled by the server.Then i press submit button.The action am writed for the submit button is my server program reads the configuration details from the file and then server socket establishes and waits in the accept socket.At this stage,my swing gui ...

48. my swing application is too slow    forums.oracle.com

Hello my application is an add-in swing application. It is connect with a posptgres database to show and edit data in this database. The application has about 10 frames and dialog. It run very slow. It may take 20-30 seconds to close a dialog or frame. Do you have any hint or suggestion so I can increase the speed of the ...

49. how to scale the size java GUI application easily ?    forums.oracle.com

Hello, i have made a small Swing based application and i used fixed (hardcoded) size in my JFrame and all embedded panels and components (+ layout manager). What i am trying to do is to set the overall frame resolution(width and height) in a property file and try to adapt the whole layout based on those two falues in the properties ...

50. Can anyone help to create a Gui application    forums.oracle.com

Hi everyone, Im learning programming in Java and I find it very interesting, however I know that I gonna need much more reading to become a good programmer. I have a home work and Im having problems to do it, can anyone help me on this one? Many thx I need to produce a library catalogue in the form of a ...

51. My Swing GUI is being blocked when the application runs    forums.oracle.com

If the method you're calling is in some kind of third party class where you don't have source access then it's a bit of a problem. The suspend, resume and stop methods of Thread are deprecated with good reason (see the Javadoc). These days we don't suspend a thread, we ask the thread politely to suspend itself.

52. What are the requirements to run a Swing application?    forums.oracle.com

I'm trying to send a simple swing application to a friend that has Mac OSX, but the buttons don't show up. Do people actually need the Java SDK in order for swing apps to work? Or is plain java enough? (He has normal java, because we play minecraft sometimes) Anyway, my buttons are not showing up on his computer, not even ...