Forum: Java 15 Days Ago |
| Replies: 11 Views: 341 You never instantiate an object with the name br. |
Forum: Java 15 Days Ago |
| Replies: 2 Views: 220 Being familiar with the Java API, available online here (http://java.sun.com/javase/6/docs/api/), is imperative if you plan to program any further in Java. Another fantastic resource is... |
Forum: Java Oct 26th, 2009 |
| Replies: 10 Views: 520 This forum has no such policy, in fact you can reply to threads from over 5 years ago...if you really wanted too. Thank you for posting the solution to your problem, and for marking the thread as... |
Forum: Java Oct 12th, 2009 |
| Replies: 2 Views: 263 Step 1: Learn Java.
Step 2: Google. |
Forum: Java Sep 22nd, 2009 |
| Replies: 4 Views: 409 Your link doesn't work, you have an extra http://
Here (http://java.sun.com/docs/books/tutorial/uiswing/components/combobox.html) is a working version of your link :) |
Forum: Java Sep 16th, 2009 |
| Replies: 4 Views: 303 No. Put some effort into the project yourself. We can help you with your program if you get stuck. You will never learn if people do the work for you. |
Forum: Java Mar 16th, 2009 |
| Replies: 2 Views: 1,473 boolean display = A.B(inputInfo);
The return statement you used is legal. You can return false, true, or a boolean variable when using a boolean method. When you call A.B() that line of code... |
Forum: Java Mar 16th, 2009 |
| Replies: 11 Views: 1,218 Why would you do this in your GeometricObject class? Just create a driver class, here's the one I made.
public class Tester {
public static void main(String[] args) {
Triangle tri = new... |
Forum: Java Mar 15th, 2009 |
| Replies: 11 Views: 1,218 public Triangle(double s1, double s2, double s3)
{
this.side1=s1;
this.side2=s2;
this.side3=s3;
}
public Isosceles( double EQside, double otherside) |
Forum: Java Mar 14th, 2009 |
| Replies: 8 Views: 586 You need to post the section of code that is giving you trouble here, not the whole thing, only where you are getting an error (don't forget to tell us what error/exception you are getting.) A great... |
Forum: Java Mar 13th, 2009 |
| Replies: 12 Views: 776 He means do it yourself. Once you start writing and come across a concept you don't understand, ask for a little help (in the correct forum.) |
Forum: Java Nov 29th, 2008 |
| Replies: 12 Views: 1,001 And I want a billion dollars :-/ |
Forum: Java Nov 11th, 2008 |
| Replies: 2 Views: 506 Easiest way to do what? You haven't told us what you need help on (besides the vague "I want to add some more features"), we have no clue where your at with implementing these "new features" and we... |
Forum: Java Oct 29th, 2008 |
| Replies: 4 Views: 2,145 Just create a new color using your values. I added the line of code into your try statement.
try
{
red = Integer.parseInt(redText.getText());
green =... |
Forum: Java Oct 22nd, 2008 |
| Replies: 12 Views: 1,719 Try saving it to a .png instead of a .gif, that should (hopefully) work. |
Forum: Java Oct 21st, 2008 |
| Replies: 2 Views: 386 I would recommend the fifth edition of Java in a Nutshell (http://www.amazon.com/Java-Nutshell-5th-David-Flanagan/dp/0596007736/ref=sr_1_3?ie=UTF8&s=books&qid=1224622812&sr=1-3) more than the fourth. |
Forum: Java Oct 20th, 2008 |
| Replies: 4 Views: 494 Have you done any programs before this one? You need to declare main() as
public static void main(String[] args){
}
You never ended your Inventory class, it needs its corresponding... |
Forum: Java Oct 19th, 2008 |
| Replies: 4 Views: 645 What you could have done is marked the thread as solved, that way everyone would know it was solved and would not read the whole thing. Or, if you really wanted to be helpful you could have put the... |
Forum: Java Oct 14th, 2008 |
| Replies: 8 Views: 633 I would suggest reading this (http://java.sun.com/docs/books/tutorial/rmi/index.html) tutorial and maybe do a little more searching if you still don't understand it. If you don't understand it after... |
Forum: Java Oct 11th, 2008 |
| Replies: 2 Views: 1,048 The error is pretty self explanatory. You never gave the variables a value.
float num11, num22;That creates them but it does not initialize them with a value. If you give them a starting value,... |
Forum: Java Aug 23rd, 2008 |
| Replies: 1 Views: 646 Show some effort by posting your code so we can see what you have done. Do what the question asks, learn how to write and read files by searching for tutorials. Google is your friend. |
Forum: Java Aug 19th, 2008 |
| Replies: 1 Views: 516 1 second Google search
http://www.javaworld.com/javaworld/jw-08-1996/jw-08-gc.html
http://java.sun.com/docs/books/jvms/first_edition/html/Overview.doc.html (Scroll down to find the paragraphs... |
Forum: Java Aug 12th, 2008 |
| Replies: 5 Views: 381 You need to instantiate choice1 before you add the string item. So change
choice1.add("10 oz");
choice1.add("16 oz");
Choice choice1 = new Choice();
to
Choice choice1 = new Choice(); |
Forum: Java Aug 5th, 2008 |
| Replies: 7 Views: 876 And use this (http://www.simpsonstrivia.com.ar/simpsons-photos/wallpapers/homer-simpson-wallpaper-brain-1024.jpg). |
Forum: Java Jul 26th, 2008 |
| Replies: 2 Views: 513 If you had looked instead of being a lazy slug, you would have seen, at the top of this forum, a thread dedicated to starting Java Starting "Java" [Java tutorials / resources / faq]... |
Forum: Java May 8th, 2008 |
| Replies: 13 Views: 2,096 Your directions are exactly what my link told them to do. My link also told them how to do it without editing Environmental Variables and had two pictures ;) |
Forum: Java Mar 22nd, 2008 |
| Replies: 4 Views: 557 Is this what you mean?
Image a;
public void init() {
a = getImage(getDocumentBase(), "a.jpg");
}
public void paint(Graphics g){
g.drawImage(a, x, y, width, height, this);
} |
Forum: Java Feb 17th, 2008 |
| Replies: 8 Views: 20,515 This thread is over three years old and you want someone who has not visited this site in three years to help you cheat. Do not bring back these old threads. |