Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #3K
~12.2K People Reached
PC Specs
Intel Core i5 2300, 4GB RAM,
Favorite Forums
Favorite Tags

9 Posted Topics

Member Avatar for Narue
Member Avatar for BestJewSinceJC
Member Avatar for crownedzero

I kinda for the most part get what your code does but, which loops is prompting twice? You have 3 loops. And what is being prompted twice?

Member Avatar for NormR1
0
206
Member Avatar for devninja

I need to make a program that runs two threads. One that outputs ping and sleeps for ten second and one that outputs pong and sleeps for ten seconds. Everything works except instead of sleeping for ten seconds everytime the thread is ran its just jumps to the second thread …

Member Avatar for NormR1
0
606
Member Avatar for joankim

Your code is right. It actually isn't good practice to name parameters the same names as the variables. "This" is used for self-referencing things that are in the class. Here's an example. public class classname { private int x; private int y; classname() { this(0, 0); //Calls classname's cunstructor with …

Member Avatar for devninja
0
281
Member Avatar for swagen

Strings are objects so you cannot compare objects with == unless you want to compare memory locations. Use .equals if (e.getSource().equals(jb))

Member Avatar for devninja
0
3K
Member Avatar for Shifter12345
Member Avatar for devninja

I have everything added to the JFrame using absolute positioning. It works fine but when it repaints the pie chart it also repaints the last JNumericField and button at the the very top left of the screen. At postion 0, 0 I presume PieChartFrame.java import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; …

Member Avatar for NormR1
0
189
Member Avatar for devninja

I made a custom JTextField that only accepts numbers into the textfield. I used insertString to do this. Tt works pretty well except it allows oddly only the letter e. It accept e only after a number is inputted first. And once e has been entered the textfield does not …

Member Avatar for devninja
0
453

The End.