Search:

Type: Posts; User: jassi

Page 1 of 2 1 2

Search: Search took 0.28 seconds.

  1. Replies
    4
    Views
    521

    Re: Object as Reference not working

    HI..Can u please tell me the link from where i can see a solution on oracle forums

    Thnks
  2. Replies
    4
    Views
    521

    Object as Reference not working

    public class GG{

    public static void main(String[] args) {
    Integer i = new Integer(10);
    System.out.println("Before Call:"+i);
    change(i);
    System.out.println("After Call:"+i);

    }
  3. Replies
    9
    Views
    1,163

    Re: Game of Craps: won't compile

    Where is your Die class??
  4. Thread: Base Conversion

    by jassi
    Replies
    7
    Views
    8,477

    Re: Base Conversion

    Hi..Where is your main() method. How can your run a program without a main() function??
  5. Replies
    1
    Views
    488

    Re: Inputs not being applied.

    I can run your program and CoffeeCup class is being called from CoffeeCup_Driver.

    So you have to check where you are wrong. And if my help is needed then tell me the output you needed.
  6. Replies
    2
    Views
    1,444

    Re: Help Calling Method From Another Class

    Your program is correct. Its running and stopping after 20 times. The output is always 0 as you are matching a double value with integer value which will never be true.

    So you change your code as...
  7. Replies
    4
    Views
    1,890

    Re: don't know what's wrong

    Hi james I will suggest you to use Eclipse IDE so that you can have a look on different functions. Their parameters. how to use them. You can program much better then
  8. Replies
    7
    Views
    4,686

    Re: INPUTMISMATCHEXCEPTION

    Resolved Program without errors.After running your program

    You can check studentGPavg.out

    import java.util.*;
    import java.io.*;

    public class university
    {
    public static void...
  9. Replies
    4
    Views
    1,890

    Re: don't know what's wrong

    May i know from where you are getting your programs?

    I think you are not writing these programs yourself.
  10. Replies
    7
    Views
    4,686

    Re: INPUTMISMATCHEXCEPTION

    Can you please elaborate what is your requirement??

    What must be the output you want from your program?

    Actually Json is correct as the value you are reading from the file is character and...
  11. Replies
    5
    Views
    1,375

    Re: Need help compiling java class files

    Hi have a look on your errors. There is a space in every class name like as:

    C:\Users\User1\Desktop\Jabble.src\JabbleFinal\Abou tDialog.java:48: not a statement
    AboutDialog.1 local1;

    It should...
  12. Replies
    4
    Views
    1,037

    Re: need help prog skipping method

    I think its not. You can use Scanner class to get data from Keyboard. I have seen many apps where in Scanner is used.
  13. Replies
    4
    Views
    1,037

    Re: need help prog skipping method

    I debugged your program and found following errors.

    1.You have used semicolon in if second if statement
    if(ans =='B' || ans =='b');
    Remove this semicolon and write statement as
    if(ans =='B' ||...
  14. Replies
    4
    Views
    1,037

    Re: need help prog skipping method

    Hi, Please tell what is Keyboard here. I am unable to resolve it. Is it some other class or an object
  15. Replies
    6
    Views
    494

    Re: need help quickly plz!!!

    Hi I want to run your program. Please give the necessary files like LEFT.gif and Right.gif. I want to try your program.
  16. Thread: need help

    by jassi
    Replies
    4
    Views
    957

    Re: need help

    Hi james, This is your complete program. Use it and enjoy...and click on Thanks link plz



    import java.util.*;
    class football
    {
    static Scanner console = new Scanner(System.in);
    public...
  17. Replies
    7
    Views
    4,686

    Re: INPUTMISMATCHEXCEPTION

    Hi, Give me that studentGPA.txt file..then only I can check what happend
  18. Replies
    6
    Views
    494

    Re: need help quickly plz!!!

    Hi I used your player class but now it is giving an error on Bullets. What is Bullets now?

    Is it some another class?
  19. Replies
    6
    Views
    494

    Re: need help quickly plz!!!

    Hi,

    You are using a Player class which is not defined anywhere. Please define Player class first and then try to execute your Shooter class
  20. Replies
    6
    Views
    1,065

    Re: Music player problem

    Hi Now I am getting one more error on this particular line

    UIManager.setLookAndFeel("com.seaglasslookandfeel.SeaGlassLookAndFeel");

    The error is:
    java.lang.ClassNotFoundException:...
  21. Thread: another problem

    by jassi
    Replies
    2
    Views
    445

    Re: another problem

    Here is your resolved Program. James May i Know you are using which editor???

    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;

    public class trafficlights extends JFrame

    {...
  22. Replies
    6
    Views
    1,065

    Re: Music player problem

    Hi, There is one more error appearing saying that

    TaskPanel can not be resolved.
  23. Re: my menu doesnt work can u tell me whats wrong

    What is hsa.console dear?
  24. Thread: im no getting

    by jassi
    Replies
    11
    Views
    1,166

    Re: im no getting

    Hi Durga Prasad.

    Your problem is solved.

    The bug i found in your code is that please make "in=3 " in your for loop again.

    Actually what was happenning is that the data is being written in...
  25. Thread: im no getting

    by jassi
    Replies
    11
    Views
    1,166

    Re: im no getting

    yeah i got
Results 1 to 25 of 37
Page 1 of 2 1 2