Search:

Type: Posts; User: goldest

Page 1 of 3 1 2 3

Search: Search took 0.23 seconds.

  1. Re: why a unknown symbol is visible on a jsp page which include another html pages

    We know that. But you should always let us know when you have already cross posted the same question on any other forum. So if it gets resolved there, people here won't waste their time trying to...
  2. Re: why a unknown symbol is visible on a jsp page which include another html pages

    Cross posted : a unknown symbol is visible? :mad:

    Goldest
  3. Replies
    13
    Views
    1,938

    Re: 2 questions(an error and line breakpoint?)

    Which means you haven't set your environment variables to use Java yet.

    Have a look how to do that here: Configure Java environment on Windows

    Hope that helps,

    Goldest
  4. Replies
    2
    Views
    364

    Re: Help with code outputting wrong info

    OP,

    You need to override the toString() method in your Student class and print something sensible inside that.

    The current output is showing the "Classname @ hex version of object's hashcode"...
  5. Re: Exception in thread "main" java.lang.NullPointerException

    Seems like you have only declared the "DefaultTableModel" but not initialized it and thats what is causing the NullPointerException.

    Initialize it properly,

    DefaultTableModel tabMode = new...
  6. Re: I cannot get to print out all my information.

    Why don't you use ArrayList then?

    Have a method, something which would get called for every store information. Once you receive your parameters, pass them along to it and store them in ArrayList....
  7. Replies
    4
    Views
    1,477

    [SOLVED] Re: Java beginner is confused....

    Your method takeTurn() of Contenstant class is making this to happen.

    Whats happening is Your Random.nextInt(int) is getting passed a negative value. Which means that
    turnDuration =...
  8. Re: Junit3 error: Implicit super constructor TestCase() is not visible

    Seems like TestCase constructor has private access.

    Please verify.

    Goldest
  9. Replies
    1
    Views
    1,213

    Re: UnsatisfiedLinkError

    Hey leepan2008,

    Seems like the issue is that you are using some native methods in your program and the native libraries are missing from the path.

    Here is what java docs says about...
  10. Replies
    8
    Views
    381

    Re: I can''t understand this error

    Please use [highlight=java]your java code here[*/highlight] while posting your code.

    Remove the * from [*/highlight] while posting the code actually.

    That would help us understand it better.
    ...
  11. Re: Program with transfer value from one class to another

    You really need to know how to use code tags! :mad:

    Then, you need to pass the pAnswer to your checkAnswerQ1 method. Because pAnswer is what your user has selected as an answer.

    String rAnswer...
  12. Replies
    11
    Views
    4,532

    Re: how to give inputs to my simple java program

    I hope you have changed your code from,

    a=Integer.parseInt(arg[1]);
    b=Integer.parseInt(arg[2]);
    c=Integer.parseInt(arg[3]);
    to

    a=Integer.parseInt(arg[0]);
    b=Integer.parseInt(arg[1]);...
  13. Replies
    8
    Views
    404

    Re: Help me plss! :(

    API documentation links for your reference

    ArrayList: ArrayList-API

    Java Iterator: Iterator-API

    Goldest
  14. Replies
    8
    Views
    404

    Re: Help me plss! :(

    I am not quite sure about whether you want to display the odd number as soon as it's entered.

    What I got is, you are going to enter 10 numbers first constantly. And then once the number feeding is...
  15. Replies
    4
    Views
    3,597

    Re: Multiplication code

    This is what I was thinking about,


    import java.io.*;

    public class MultiplicationTest {

    public static void main(String args[]) {
    System.out.print("Enter Number: ");
    BufferedReader...
  16. Thread: Making a clock

    by goldest
    Replies
    5
    Views
    509

    Poll: Re: Making a clock

    What are the exact error messages?

    Would you please post them?

    Goldest
  17. Replies
    4
    Views
    357

    Re: please tell me why i'm getting this error

    You are Welcome! :-bd
  18. Replies
    4
    Views
    2,224

    Re: Family Tree App Help

    It would be nice if you can show some code and tell us where you have stuck up exactly.

    That would be easy for people here as well. Because the description above isn't enough to understand whats...
  19. Replies
    4
    Views
    357

    Re: please tell me why i'm getting this error

    OR

    In case if you don't want to get lost in the world of Java API documentation, them simply change the signature of your plot method. Take String instead of a char.

    Change this,

    public...
  20. Replies
    2
    Views
    504

    Re: what's wrong in this code

    Just in case if you are interested to do the things from main only, then you will have to change the implementation a bit.

    You will need to use the static nested class inside your class. That...
  21. Replies
    2
    Views
    504

    Re: what's wrong in this code

    Hey Arvind,

    Usually in java the keyword "this" refers to the current object. And static means per class and not per object. The rule is that you can't access a non-static variable from a static...
  22. Replies
    4
    Views
    1,053

    Re: Geometry/Trigonometry Question

    The bullet you shot above, just went over my head.

    I am feeling lucky that there is something more weird and dangerous than coding. <:-P

    Goldest
  23. Replies
    5
    Views
    423

    Re: Help in looping

    Hey endframe,

    The problem here is that, your nextLine() method is trying to read till the end of the line and going to the beginning of second line. And because of that, it is reaching the 1st...
  24. Replies
    4
    Views
    3,597

    Re: Multiplication code

    In case if you are totally chocked up about how to get started, here are some pointers.

    1) Use chained stream readers to get the console input.

    2) Read the console input into a String.

    3)...
  25. Replies
    6
    Views
    553

    Re: Is My answers correct??

    You are Welcome! :D
Results 1 to 25 of 63
Page 1 of 3 1 2 3