Process « GUI « Java Swing Q&A





1. how to run and kill processes in fedora from a java GUI    stackoverflow.com

I'm working in fedora. I want to create a GUI in java , with two buttons : START and STOP. i have two processes : p1 and p2. When i click ...

2. [platform-dev] Creating a local instance of a NB Platform GUI from within a Java process?    forums.netbeans.org

I have a GUI based on the Java Desktop Application Framework that gets instantiated from within a MATLAB process which allows easy communication between a MATLAB script and the GUI via direct Java method calls. I would like to migrate this application to the NB Platform, but wondered how easy itd be to launch the NB Platform programmatically rather through the ...

3. process context for Swing    coderanch.com

Problem with applets is that your userbase will need to have the Java Plugin installed... For applications they;ll need JRE or JDK installed. Either way there is installation of Java software necessary before your software will run... Sun has/is coming out with better ways to address this all the time, but this basic prereq. still exists. If I had to choose ...

4. GUI and Processing, how to seperate?    coderanch.com

I'm starting to get into Swing in my classes and I'm wondering how I can keep the GUI code and the processing code seperate. For example, I'm doing a Hw assignment right now. I've got a Homework2 class that is an Applet with a button. When you click the button it "starts" the homework. It's actually calling "new Layout();". The Layout ...

5. too long, waiting process..    coderanch.com

hi, In my program, I want to show some pictures on the internet. I am creating an URL object and making the adress of object to url of the picture then when I was using it to show pictures in my program I realized that, it takes too much time to obtain the picture and prevents my program responsing user's desires, ...

6. Keeping gui and processing code seperate    coderanch.com

I'm making a little Notepad clone in Swing. Actually, I made it awhile ago but I had a class for each action event by buttons would throw. Each of them were nested in the same class as the gui. I thought this was bad practice so I'm trying to move them into their own class. I keep getting a StackOverflowError when ...

7. Unfreezing a GUI while a process it running    coderanch.com

Is there any way I can unfreeze my GUI while a process is running, for example if i run a process which takes 5 minutes, the Jframe will be frozen and unable to press buttons etc.. untill the main process is running. I'll appriciate every bit of help, thank you. P.S I'm trying to make it unfeeze so a progress bar ...

8. Script compile process - making dynamic    coderanch.com

Hi, I played around with earlier versions of JavaFX and I found it useful for rapid development (compared to Swing/Java 2D programming anyway). But, it was standard mechanism of write 'code', compile and then deploy. Is it possible to have the script interpreted at runtime? For example, what if I wanted to use JavaFX script to render user-interfaces dynamically. In other ...

9. Swing process won't die    coderanch.com





10. Process method not being executed eventhough publish is being called    coderanch.com

What if you used a for-each loop in the process method to iterate through all the images. Perhaps something like so (warning: not compiled nor tested): @Override protected void process(List images) { try { for (BufferedImage image: images) { //BufferedImage image = images.get(images.size() -1); ScannedImage scannedImage = new ScannedImage(ImageUtility.bufferedImage2bytes(image), false, false); user.getLog().debug(":Scanner:process:scannedImage done, check if"); user.getLog().debug(":Scanner:process:addImage"); imageColl.addImage(scannedImage); user.getLog().debug(":Scanner:process:addImage done"); user.getLog().debug(":Scanner:process:getImage"); imageColl.getImage(imageColl.getCurrentPage()); ...

11. Exiting java processes    coderanch.com

Hi, i made a java program with a java form (gui), but theres a process that never ends...(is the way i want to execute, theres nothing bad with the code) So the question is: Is there a way to terminate the execution of the program, like a kind of System.exit, buy without exiting the java form gui? just end the process ...

12. GUI not killing processes when X is used to exit    java-forums.org

I used netbeans to help develop a GUI application. Everything exits great when the users uses the FILE - EXIT menu option. However, in windows there is an X in the upper righthand corner of the frame that can be used to exit an application. When the user uses that exit method the java process doesn't get killed. The GUI disappears ...

13. Process tied to the GUI?    forums.oracle.com

I have an application that processes a bunch of xml files, There are certain cases where the GUI isn't visible and is set invisible by the .setVisible(true) method of JFrame. When this occurs the whole java application just stops even though it is still processing files in the background. I have stopped the GUI from going invisible and now there is ...

14. Separating GUI and processing?    forums.oracle.com

This maybe a muddy question but.. Is it good design extending the GUI class from a class that do all the processing for the application? For example, when designing a database application is it wise to create a class with database access methods and data processing, then form that extending a GUI class that do the event processing? For me, separating ...

15. How do i make a gui to cancel a process    forums.oracle.com