Search:

Type: Posts; User: lewvan00

Search: Search took 0.34 seconds.

  1. Thread: help~~!!

    by lewvan00
    Replies
    5
    Views
    582

    Re: help~~!!

    You can show more detailed information about you project.
  2. Replies
    5
    Views
    1,971

    Re: How overloaded paint() works?

    I should apologize for you.I am so dazed

    Actually ,you can directly draw in the Frame object.
    the code has been amended


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

    public class rago...
  3. Replies
    5
    Views
    1,971

    Re: How overloaded paint() works?

    Hi maikeru .

    you have made some mistakes that the Frame is a container ,you can't directly put something non-component in it.
    For your sample,you should first create a panel object that hava...
  4. Re: Hey Guys new to Java.. Got most of program done require a little assistance plz

    Actually,you can write a get and set method for each attribute of Person.
    Like:


    public String getForename()
    {
    return this.Forename;
    }
    public void setForename(String Forename){...
  5. Re: COULD NOT CREATE JAVA VIRTUAL MACHINE

    This message occurs if CORE Generator cannot allocate enough memory to invoke the Java Virtual Machine (JVM). The default system memory used by CORE Generator is 1024 MBytes (512 MBytes on Windows...
  6. Re: COULD NOT CREATE JAVA VIRTUAL MACHINE

    I think it's the matter of memory ~
  7. Re: Hey Guys new to Java.. Got most of program done require a little assistance plz

    hi there,The code will be showed below :



    import java.util.*;

    class Person{

    private String Forename;
    private String Surname;
  8. Replies
    4
    Views
    803

    Re: small problem ... I need help

    Hi.The first style Loop will be showed below


    public class LoopPrint{


    public static void main(String args[]){
    int countspace=4;
    int countstar=1;
    for(int i=0;i<5;i++)
Results 1 to 8 of 8