Questions tagged [awt-eventqueue]
68 questions
-1
votes
1 answer
Exception in thread "AWT-EventQueue-0"
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no jpcap in java.library.path
is the error I keep getting, do I need to add a path to jcap? or change my configurations?

jocopa3
- 796
- 1
- 10
- 29
-1
votes
1 answer
Java not catching exception being thrown from "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException:
I have a block of code that I surrounded with a try catch block with the most general exception, yet it never gets caught since the logic in my catch statement never executes and the program continues.
try{
add an XYSeries object to a jfree…

Barry
- 216
- 1
- 3
- 13
-1
votes
1 answer
How to fix this AWT-EventQueue-0 exception
I write a Library login page with Java Swing and try to run it. The page can run properly but when I type in any username, choose a type and press login, it raises an AWT-EventQueue-0: NullPointerException.
The Library class deserializes two files…

Duludulu
- 37
- 4
-1
votes
1 answer
Draw Shapes on overlapping Panels, One panel Draw Stationary and another Draw Movable
I am creating Swing application. It is kind of road map with moving object application. I divide my shape components in two JPanels. One is static component JPanel, and second for dynamic component JPanel, and both added in mainPanel. Both panels…

virendra
- 21
- 4
-1
votes
3 answers
Java: How should I implement waiting so that Images render?
I'm not sure I've really asked the question correctly...and I'm not even sure if I've relevantly phrased the question or not..So, I apologize in advance...but I'm quite stuck on this issue and appreciate all help.. Further, I'm frankly not an expert…

user99672
- 3
- 1
-1
votes
2 answers
AWT-EventQueue-0 is running all the time and program become very slow in java
I am writing an gui. In that gui, there are lots of shapes ( around 200 ). I used paint method to draw them.
In one situation, I have to make them blink (switching between two color). In a for loop I am changing their colors and then…

Emre
- 79
- 1
- 11
-2
votes
1 answer
Java rectangle 90 array null pointer
I cannot figure this one out... so I keep getting an Exception in thread
AWT-EventQueue-0" java.lang.NullPointerException
at MakeFrame.MovementAndObjects.paint(MovementAndObjects.java:285)
error in my code but there is no nullPointer that I can…

Zander
- 84
- 14
-2
votes
1 answer
AWT-EventQueue-0 Exception when openning JFrame
I have two class:
public class RecordTableGUI2 extends JFrame implements ActionListener {
private JButton addButton;
JTable table;
RecordTableModel2 model2;
public RecordTableGUI2() {
model2 = new RecordTableModel2();
…

Sajad
- 2,273
- 11
- 49
- 92