No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
Does anyone know COBOL? I need help with a program I am doing. |
|
Re:
Hi I was looking help with a null pointer error I get everytime I use my newgame button or start the newgame method. What the game should do is guess 1-1000 then change the screen when the user's guess is too low , too high, and correct. Once the user … |
|
Re:
[code]import java.awt.*; import javax.swing.*; public class image extends JFrame{ JButton b1; ImageIcon im; Container c=getContentPane(); public image() { im=new ImageIcon("Pictures/sad.jpg"); b1=new JButton(" ",im); c.setLayout(new FlowLayout()); add(b1); setSize(500,500); show(); } public static void main(String [] args) { new image(); } }[/code] |