Skip to main content
1 vote
0 answers
115 views

I'm currently moving our app's IO to SwingWorker. Typically, it works fine. But sometimes, however, SwingWorker#done is not invoked even though the operation is complete. Important: SwingWorker#done ...
Sergey Zolotarev's user avatar
0 votes
0 answers
68 views

I am trying to use SwingWorkers in my application (written in Java) where I collect some data from an API and display it in the app's GUI. Please keep in mind that I am very unsure when it comes to ...
JosephFC97's user avatar
0 votes
2 answers
75 views

I'm having trouble getting swingworker to work when copying files recursively. No matter what I do, my progress bar doesn't update until after all the files are copied. The direction I chose to do is ...
Vince's user avatar
  • 2,666
0 votes
0 answers
76 views

I am trying to create a Java Sorting Visualizer using SwingWorker to run the sorting algorithm step by step in a separate thread, and publish intermediate states to update the UI (I am going to say ...
povertyStrickenCoder's user avatar
0 votes
2 answers
179 views

I've got a big background task with some intermediate points where a user input is required. E.g. buttonLoad_actionPerformed --> load, verify validity --> if outdated, ask user whether to update....
lvr123's user avatar
  • 584
0 votes
1 answer
140 views

I am making a Java Swing application. Here is a simplified program logic: public class Data { //Data. } public class CustomPanel extends JPanel implements MouseListener { private Data ...
my_dear_doctor's user avatar
0 votes
0 answers
25 views

I'm working on a Java Network Application in Eclipse, already plenty of detail, and the app functionality is to perform an ip scan of the network and a port scan of a particular ip address. here's the ...
miatech's user avatar
  • 2,296
-1 votes
1 answer
80 views

This is my first time working with Java Swing, so apologies for missing a lot context. This is using Netbeans 7.0.x--business rational. Code is generated using the "Design" feature in ...
kroger9's user avatar
  • 49
0 votes
1 answer
99 views

I'm new to Java Swing, and I need to make some simple Java desktop app. I have MainPanel in which I have SwingWorker with doInBackgroung in which I call service which calls a DAO that make a quering ...
Ewe's user avatar
  • 145
0 votes
1 answer
65 views

I have a program that runs a given test and shows the results using GUI. I need from the program to not freeze when I run a long test. I do all the tests in tester class that starts when we press the ...
Lucky's user avatar
  • 11
0 votes
0 answers
72 views

I developed a GUI, which connects to a server and fetches data on push of a button. The GUI is made in Swing. For the requests, I have a specific class, which I cannot change. This class implements ...
javaparallelizer's user avatar
0 votes
0 answers
100 views

Class javax.swing.ProgressMonitor provides method setMaximum(int max) which is documented as Specifies the maximum value. However, SwingWorker<Void, Void>.setProgress(int progres) is ...
arcy's user avatar
  • 13.2k
1 vote
2 answers
120 views

I am trying to code a sorting algorithm visualizer. I put almost everything into one class called visualizer and I was wondering how I can move my "insertionSort" and "bubbleSort" ...
PikaKirbyBro's user avatar
0 votes
1 answer
90 views

I am creating a Java program using Swing and want to open a JFrame, run a for-loop that stores items in a list of Strings, display graphics while that is happening, and only after that is done call ...
Shynee's user avatar
  • 11
0 votes
2 answers
160 views

I have a Java3D scenegraph update task which takes 3-4 seconds on my laptop to complete. During this time I want a window showing up, asking the user to wait until the job completes. I have a simelar ...
Alex's user avatar
  • 1,819

15 30 50 per page
1
2 3 4 5
62