No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
8 Posted Topics
I am having trouble figuring out how to read input from the keyboard and inserting that into a LinkedList. Any help or suggestions would be greatly appreciated. import java.util.*; import java.util.Scanner; import java.io.*; public class listlist{ public static void main(String [] args){ LinkedList ll = new LinkedList(); Scanner in = … | |
So im setting up this gui, but im getting this Nullpointer exception: [CODE]Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at addressbook.dnDisplay.jButton1ActionPerformed(dnDisplay.java:222) at addressbook.dnDisplay.access$600(dnDisplay.java:22) at addressbook.dnDisplay$7.actionPerformed(dnDisplay.java:128) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:6289) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6054) at java.awt.Container.processEvent(Container.java:2041) at java.awt.Component.dispatchEventImpl(Component.java:4652) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Component.dispatchEvent(Component.java:4482) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577) at … | |
So im doing this swing java gui project where the admin can login and search, modify and add users to the database mysql. Im having trouble putting in the right getParameter to get: type = radio group button of 2 with 1 as Doctor and 1 as Nurse Specialty = … | |
I have this program that I am working on that I am trying to insert user entered integers till a "-1" is detected and it will stop inserting the integers into the Tree and print it out inOrder. I am geting 2 errors: File: S:\makeup1.java [line: 9] Error: S:\makeup1.java:9: cannot … | |
So I have two MAL programs that I am getting 2 errors in each of them. I am using xSpim on unix to run this program. I wrote this using the windows version PCSPIM which compiled the program and ran it flawlessly. But when I tried to run it using … | |
I am suppose to make a MakeFile for the 2 source files named p4a.c and p4b.c Am i doing this makefile correctly? Any suggestions would be so helpful my MakeFile so far [CODE].SUFFIXES: .c .o CC - gcc CFLAGS = -g .c.o: $(CC) $(CFLAGS) -c $, sample: p4a.c p4b.c gcc … | |
So I am suppose to write a program that will implementing one method if computing checksums for a file containing integers. I am executing the program by a command line from the following form: p4a inputfile outputfile I can compile the program in Dev C++ compiler with no errors. But … | |
Ok I have done the main section of my MergeSort program. I have to accept 10 integers and put them into a list. I having trouble with inserting user input into a list. Can anyone help? [CODE]import java.util.Scanner; import java.util.LinkedList; import java.util.*; public class mergesort{ public static class lp{ int … |
The End.