User Profile

Collapse

Profile Sidebar

Collapse
Kid Programmer
Kid Programmer
Last Activity: Apr 15 '12, 03:19 PM
Joined: Mar 18 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Seems like a... boring read, but it's also exactly what I asked for, so thanks!
    See more | Go to post

    Leave a comment:


  • What's a good Java book for an "experienced" programmer?

    Hey, I haven't posted on this forum in several years (I made this account a long time ago, hence the incredibly stupid username :/) and since then I've become a reasonable C++ programmer (reasonable to the sense that I've made a few applications in Qt and the likes). Anyhow, I'm taking AP Computer Science this summer and I currently don't know squat when it comes to Java. I was hoping that you guys could recommend me some Java books that I can...
    See more | Go to post

  • Kid Programmer
    replied to findInLine
    in Java
    Begging Programming with Java For Dummies 2nd Edition uses Java 5.0...
    See more | Go to post

    Leave a comment:


  • Kid Programmer
    replied to Calc Question
    in Java
    I have been learning. But I ecountered a problem because I couldn't find what to do. I will learn and learn how to program more if you tell me what to do. I'm not asking for the actual code. I'm asking for help on what to do. Now could you please help me....
    See more | Go to post

    Leave a comment:


  • Kid Programmer
    replied to how to create a header file in c++
    in C
    In you main.cpp file or whatever you named it at the top did you put:
    Code:
    #include<header.h>
    because if you didn't it wont work.
    See more | Go to post

    Leave a comment:


  • Kid Programmer
    replied to Calc Question
    in Java
    Angry aren't we. But anyways I was asking how to get it to add the numbers. And I don't want it to add two, but as many as you would like. Like what the standard calculator at calculator.com (which I said in my first post in the this thread) can do. And my previous calculators weren't as good. They were text based which can have a lot of errors if for example you asked the user to enter an operator and they typed "aksdfhasdf ". Other...
    See more | Go to post

    Leave a comment:


  • Kid Programmer
    replied to Calc Question
    in Java
    I wasn't dumping my code. And look at the post below yours....
    See more | Go to post

    Leave a comment:


  • Kid Programmer
    started a topic Calc Question
    in Java

    Calc Question

    Hey guys. Once again I am making a calculator like I do so much. I ran into an error with this program though. I just couldn't figure out how to make the operators work. I want this calculator to be like a standard calculator on http://calculator.com/ So how do I do this? Here is my source code:
    Code:
    /******************************
     ** Program Name: Calculator **
     ** Date: June 3rd, 2008     **
     ** Author: Edward Sanger
    ...
    See more | Go to post

  • Kid Programmer
    replied to Pong AI Problem
    in Java
    Read this: http://javaboutique.in ternet.com/tutorials/Java_Game_Progr amming/PongKIEng.html
    See more | Go to post

    Leave a comment:


  • Kid Programmer
    replied to error on drawString
    in Java
    The problem is you are telling it to draw the String AuthorName but it doesn't know what AuthorName is. You need to declare the variable AuthorName of the string type so that it will know what to print out.
    See more | Go to post

    Leave a comment:


  • Kid Programmer
    replied to Clear Output Pane
    in Java
    Okay that could work. The user could just scroll back up but whatever....
    See more | Go to post

    Leave a comment:


  • Kid Programmer
    started a topic Different Browser Question

    Different Browser Question

    It seems like most of the questions on this forum are just involving different browsers. No one asks questions about
    See more | Go to post

  • Kid Programmer
    replied to Clear Output Pane
    in Java
    Okay. Thanks amigo....
    See more | Go to post

    Leave a comment:


  • Kid Programmer
    started a topic Clear Output Pane
    in Java

    Clear Output Pane

    Is there a method I can use to delete all the text that has been outputted using the
    System.out.prin tln(""); method?
    See more | Go to post

  • Kid Programmer
    replied to Applet Question
    in Java
    Usually just things like g.drawString("a sdfsdg", 123, 123); and things like that....
    See more | Go to post

    Leave a comment:


  • Kid Programmer
    started a topic Applet Question
    in Java

    Applet Question

    Why is it whenever you scroll up and down on a web page an Applet flashes.
    See more | Go to post

  • Kid Programmer
    replied to getText() causes Exception
    in Java
    No problemo. And here is some code that should make the program work:
    Code:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    
    public abstract class gui implements ActionListener {
    	
    	public static void main(String[] args)
    	{
    		JFrame frame;
    		final JButton button1, button2;	
    		final JTextField textfield;
    		Container contentPane;
    		FlowLayout layout;
    ...
    See more | Go to post

    Leave a comment:


  • Kid Programmer
    replied to x button
    No. And that would get everyone who visited your site REALLY angry. They wouldn't be able to leave. But you could make loads of money bombarding them with popups.
    See more | Go to post

    Leave a comment:


  • Kid Programmer
    replied to getText() causes Exception
    in Java
    I read all the replies. I was just giving him advice. That's how I write my code.
    I create a JFrame, I create a Container, a Layout or I use setBounds, I make my components, I add my components to my Container, I set the actions that they preform to whatever I want, then I do all my frame setting things like the title and the default close operation. It always works out for me...
    See more | Go to post

    Leave a comment:


  • Kid Programmer
    replied to getText() causes Exception
    in Java
    You could try approaching the problem a different way and instead of making one event create 2 events for each button. Do something like this for each button:
    Code:
    button1.addActionListener(new ActionListener()
    {
    	public void actionPerformed(ActionEvent button1)
    	{
    		String value = chrisField.getText();
    		button2.setText(value);
    	}
    });
    Then create another one for button2. I didn't...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...