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
~11.9K People Reached
PC Specs
Intel Core i5 2300, 4GB RAM,
Favorite Forums
Favorite Tags
Member Avatar for Narue

Just for fun, I wrote up a quick tutorial for basic assembly. At present, it's only in the form of a PDF document, but I'll eventually get around to adding it to my website.

Member Avatar for The Old Man
19
2K
Member Avatar for BestJewSinceJC

Since I keep seeing people asking how to read the Integers from a File, I figured this simple snippet might be useful. What it does is it creates a new Scanner Object based on the File Object "test.txt" then it reads all of the Integers from that file, skipping over …

Member Avatar for Ezzaral
0
5K
Member Avatar for crownedzero

I'm using a loop to get user input and compare it; Idk why but on the first iteration of the while it works fine and displays only once. Second run thru I get two prompts, hoping someone can point out where I'm screwing up. public static void main(String[] args) { …

Member Avatar for NormR1
0
204
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
602
Member Avatar for joankim

Learning Java, I have never used the keyword "this". So I am wondering when it is smart to use it. I know that it does prevent name conflicts: public class test { int x; int y; public test(int x, int y) { this.x = x; this.y = y; } } …

Member Avatar for devninja
0
277
Member Avatar for swagen

package gui; import javax.swing.*; Import java.awt.event.*; import java.applet.Applet; public class FE extends Applet implements ActionListener { private JLabel lb = new JLabel("Enter text :"); private JTextField jtf1 = new JTextField(10); private JButton jb = new JButton("ENTER"); private JLabel lb2 = new JLabel(" "); public void init() { add(lb); add(jtf1); add(jb); …

Member Avatar for devninja
0
3K
Member Avatar for Shifter12345

Hello! I started learning C++ and I just discovered pointers. Well, it's a little bit hard for me to understand what's the point of it so I'll just explain my problem. I want to create a code in which I compute results using arithmetic operations (+, -, ÷, ×,%, ^ …

Member Avatar for devninja
0
185
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
186
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
447