Search:

Type: Posts; User: tombstone

Search: Search took 0.19 seconds.

  1. Replies
    8
    Views
    9,986

    Re: Print out a JFrame

    Give the code you have attempted.
    You won't get full code here, so pleas post how much you have tried.
    Hint-
    Try using methods setVisible(true), setSize(width, height) of JFrame class.
  2. Replies
    1
    Views
    2,809

    Re: make dir using mkdir() in java io

    What do you mean another system?
    Please post what you have tried so far, and clearly state your problem with an example if possible.
  3. Replies
    5
    Views
    3,034

    Re: How to fetch integer data from excel

    I think it is better to use the JXL api for excel rather than using jdbc.
    A link to the API tutorial - Java Excel API Tutorial
  4. Replies
    4
    Views
    12,074

    Re: counting words of a text file

    Check where the while loop closing brace is, because in the code posted, it looks to be at incorrect position.
    Only below part should be in while loop:


    fileContents = fileContents + "\n" +...
  5. Thread: java mail

    by tombstone
    Replies
    2
    Views
    1,942

    Re: java mail

    Java mail api supports pop, imap and smtp protocols.
    I have written codes (with\without GUI) to read my gmail and send mails using smtp protocol.
    I can give you sample codes if u want.
    Cheers!
  6. Replies
    2
    Views
    1,024

    Re: need this program written

    Use toCharArray() method on the 2 Strings.
    Then use for loop and compare the Student's answer against actual answer.

    score = 0;
    for(i=0;i<actual.length;i++){


    if(student[i] == ' ') { /* do...
  7. Thread: Eclipse

    by tombstone
    Replies
    3
    Views
    1,596

    Re: Eclipse

    Right Click on the java file containing public static void main method.
    Go to properties - run\debug settings - select class and click edit button on right side.
    In arguments tab, provide the...
Results 1 to 7 of 8