User Profile

Collapse

Profile Sidebar

Collapse
feda
feda
Last Activity: Jul 19 '08, 11:29 AM
Joined: Mar 14 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • feda
    started a topic Netbeans Applets, changes not being shown in html?
    in Java

    Netbeans Applets, changes not being shown in html?

    I have a small applet using Netbeans and It is working fine but if I want to add any thing to the corresponding html document It is not shown. Could you help please?
    See more | Go to post

  • feda
    started a topic Stuck with consuming web service from client

    Stuck with consuming web service from client

    Dear Experts
    my problem is when I create client to consume the web service always I stuck with initComponent() an I cannot edit,delete and run it.
    Help me please
    See more | Go to post

  • feda
    started a topic End of File Indicator
    in Java

    End of File Indicator

    Hello everybody
    I want the end of file indicator in Java
    I used the ctrl +Z but it seems not working ?!!
    this is the code:

    while (input.hasNext( ))
    {
    grade=input.nex tInt();
    total=total+gra de;
    gradeCounter=gr adeCounter+1;
    incrementLetter GradeCounter(gr ade);
    }
    See more | Go to post

  • feda
    replied to Simple Java Program but not running??
    in Java
    THANK YOU VERY MUCH IT WORKED >>>>
    Best Regards
    FEDA...
    See more | Go to post

    Leave a comment:


  • feda
    replied to Simple Java Program but not running??
    in Java
    [code=java]
    /*
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    */

    package javaapplication 8;

    /**
    *
    * @author PAAET
    */
    import java.io.*;
    public class Main
    {
    public static void main(String [] args) throws IOExeption
    {

    String name;

    System.out.prin t("What is...
    See more | Go to post
    Last edited by JosAH; Mar 14 '08, 05:59 PM. Reason: please use those [code=java] ... [/code] tags

    Leave a comment:


  • feda
    replied to Simple Java Program but not running??
    in Java
    package javaapplication 8;

    /**
    *
    * @author PAAET
    */
    import java.io.*;
    public class Main
    {
    public static void main(String [] args) throws IOExeption
    {

    String name;

    System.out.prin t("What is your name? ");
    BufferedReader reader=new BufferedReader (new InputStreamRead er(System.in));
    name =reader.readLin e();

    System.out.prin tln(name...
    See more | Go to post

    Leave a comment:


  • feda
    replied to Simple Java Program but not running??
    in Java
    I changed my code as follows:

    [code=java]
    import java.lang.*;
    import java.io.*;
    public class Main
    {
    public static void main(String [] args)
    {

    String name;

    System.out.prin t("What is your name? ");
    BufferedReader reader=new BufferedReader (new InputStreamRead er(System.in));
    name =reader.readLin e();

    System.out.prin tln(name +...
    See more | Go to post

    Leave a comment:


  • feda
    replied to Simple Java Program but not running??
    in Java
    Thankyou very much for ur answer which one error has solved but what is the solution to the second error?? is there another static method ?...
    See more | Go to post

    Leave a comment:


  • feda
    replied to Simple Java Program but not running??
    in Java
    I ran the program ad I got the following error:

    init:
    deps-jar:
    Compiling 1 source file to C:\Documents and Settings\PAAET User\My Documents\NetBe ansProjects\Jav aApplication8\b uild\classes
    C:\Documents and Settings\PAAET User\My Documents\NetBe ansProjects\Jav aApplication8\s rc\javaapplicat ion8\Main.java: 13: class Hello is public, should be declared in a file named Hello.java
    public class Hello
    C:\Documents...
    See more | Go to post

    Leave a comment:


  • feda
    replied to Simple Java Program but not running??
    in Java
    Thanks but how can I do it I just press the green triangle....
    See more | Go to post

    Leave a comment:


  • feda
    started a topic Simple Java Program but not running??
    in Java

    Simple Java Program but not running??

    Hi everybody,
    I am new to java I installed netbeans 6.0.1
    I tried running the following simple program but it didnor work???


    import java.util.*;
    public class Hello
    {
    public static void main(String [] args)
    {
    Scanner reader = new Scanner(System. in);
    String name;

    System.out.prin t("What is your name? ");
    name = reader.readLine ();...
    See more | Go to post
No activity results to display
Show More
Working...