• Member Avatar for John_165
    John_165

    Began Watching Find The Prime Factors Of An Integer

    Hi guys , is me again ! I get stucked on this question Write a program that read an integer and display its smallest prime factors in ascending order. For …
  • Member Avatar for John_165
    John_165

    Replied To a Post in Happy Holidays

    What holiday you guys having ?
  • Member Avatar for John_165
    John_165

    Began Watching Happy Holidays

    Hello All, just wanted to wish everybody a Happy Holiday as I've not spoken to anybody other than Jim for a while. Hope you're all keeping well. All the best, …
  • Member Avatar for John_165
    John_165

    Marked Solved Status for Find the smallest n such that n^3>1000

    Use a **for** loop to find the smallest integer n such that n^3 is greater than 1000 So I came out with below code public class Chapter4 { static int …
  • Member Avatar for John_165
    John_165

    Replied To a Post in Find the smallest n such that n^3>1000

    > If you used 10000 instead of 1000 you would get 21. Yes, you're right ! Just realize I wrote 10000 instead of 1000. > 10 to the 3rd power …
  • Member Avatar for John_165
    John_165

    Edited Find the smallest n such that n^3>1000

    Use a **for** loop to find the smallest integer n such that n^3 is greater than 1000 So I came out with below code public class Chapter4 { static int …
  • Member Avatar for John_165
    John_165

    Edited Find the smallest n such that n^3>1000

    Use a **for** loop to find the smallest integer n such that n^3 is greater than 1000 So I came out with below code public class Chapter4 { static int …
  • Member Avatar for John_165
    John_165

    Created Find the smallest n such that n^3>1000

    Use a **for** loop to find the smallest integer n such that n^3 is greater than 1000 So I came out with below code public class Chapter4 { static int …
  • Member Avatar for John_165
    John_165

    Began Watching Find the smallest n such that n^3>1000

    Use a **for** loop to find the smallest integer n such that n^3 is greater than 1000 So I came out with below code public class Chapter4 { static int …
  • Member Avatar for John_165
    John_165

    Replied To a Post in Find numbers divisible by 3 and 4

    > Which post/code are you referring to - there's Java, Ruby, APL and English so far. The code you posted 16 hours ago
  • Member Avatar for John_165
    John_165

    Replied To a Post in Find numbers divisible by 3 and 4

    What language is that ?
  • Member Avatar for John_165
    John_165

    Marked Solved Status for Find numbers divisible by 3 and 4

    Write a program that displays all numbers divisible by 3 and 4 within a range entered by user. Display five numbers per line. Numbers are separated by exactly two spaces. …
  • Member Avatar for John_165
    John_165

    Replied To a Post in Find numbers divisible by 3 and 4

    > JamesCherrill: Very nicely done John. Thanks James.
  • Member Avatar for John_165
    John_165

    Revoked Solved Status for Find numbers divisible by 3 and 4

    Write a program that displays all numbers divisible by 3 and 4 within a range entered by user. Display five numbers per line. Numbers are separated by exactly two spaces. …
  • Member Avatar for John_165
    John_165

    Marked Solved Status for Find numbers divisible by 3 and 4

    Write a program that displays all numbers divisible by 3 and 4 within a range entered by user. Display five numbers per line. Numbers are separated by exactly two spaces. …
  • Member Avatar for John_165
    John_165

    Marked Solved Status for Find numbers divisible by 3 and 4

    Write a program that displays all numbers divisible by 3 and 4 within a range entered by user. Display five numbers per line. Numbers are separated by exactly two spaces. …
  • Member Avatar for John_165
    John_165

    Replied To a Post in Find numbers divisible by 3 and 4

    Thanks all . I finally solved it. import java.util.Scanner; public class Chapter4 { public static void main(String[] args) { final int NUMBER_PER_LINE = 5; Scanner input = new Scanner(System.in); int …
  • Member Avatar for John_165
    John_165

    Replied To a Post in Find numbers divisible by 3 and 4

    Thanks guys for all the feedback. Just wonder how can I reply a comment ?
  • Member Avatar for John_165
    John_165

    Created Find numbers divisible by 3 and 4

    Write a program that displays all numbers divisible by 3 and 4 within a range entered by user. Display five numbers per line. Numbers are separated by exactly two spaces. …
  • Member Avatar for John_165
    John_165

    Began Watching Find numbers divisible by 3 and 4

    Write a program that displays all numbers divisible by 3 and 4 within a range entered by user. Display five numbers per line. Numbers are separated by exactly two spaces. …
  • Member Avatar for John_165
    John_165

    Replied To a Post in Error in setValueAt JTable Java

    But how can I get the rows number so the second parameter become valid ?? Was pulling my hair out of this ! I have move some code and here …
  • Member Avatar for John_165
    John_165

    Replied To a Post in Error in setValueAt JTable Java

    > I don't know your design, so I don't know wha the "specific row" is. > What I can say is that if rows is (eg) 2, then the valid …
  • Member Avatar for John_165
    John_165

    Replied To a Post in Error in setValueAt JTable Java

    > Just a guess: > Its line 12 that's the problem. rows is the number of rows, so valid values for the second parameter should be 0 to (rows-1) Yes, …
  • Member Avatar for John_165
    John_165

    Edited Error in setValueAt JTable Java

    I have multiple JSpinner which have items 1-10 , and one JTable. When the JSpinner is clicked, the value will be added to JTable. I want to get the row …
  • Member Avatar for John_165
    John_165

    Created Error in setValueAt JTable Java

    I have multiple JSpinner which have items 1-10 , and one JTable. When the JSpinner is clicked, the value will be added to JTable. I want to get the row …
  • Member Avatar for John_165
    John_165

    Began Watching Error in setValueAt JTable Java

    I have multiple JSpinner which have items 1-10 , and one JTable. When the JSpinner is clicked, the value will be added to JTable. I want to get the row …
  • Member Avatar for John_165
    John_165

    Replied To a Post in How to increase the width of JTextField in Tab?

    > Line 142 - is the -- intentional? What did you meant ?
  • Member Avatar for John_165
    John_165

    Edited How to increase the width of JTextField in Tab?

    In my Food Tab, I wanted to achieve this [Click Here](https://sfault-image.b0.upaiyun.com/358/064/3580648794-597611aa1f701) But I only able to get this [Click Here](https://sfault-image.b0.upaiyun.com/779/111/779111227-5976120f6955a) How can I increase the width of the JTextField which …
  • Member Avatar for John_165
    John_165

    Edited How to increase the width of JTextField in Tab?

    In my Food Tab, I wanted to achieve this [Click Here](https://sfault-image.b0.upaiyun.com/358/064/3580648794-597611aa1f701) But I only able to get this [Click Here](https://sfault-image.b0.upaiyun.com/779/111/779111227-5976120f6955a) How can I increase the width of the JTextField which …
  • Member Avatar for John_165
    John_165

    Edited How to increase the width of JTextField in Tab?

    In my Food Tab, I wanted to achieve this [Click Here](https://sfault-image.b0.upaiyun.com/358/064/3580648794-597611aa1f701) But I only able to get this [Click Here](https://sfault-image.b0.upaiyun.com/779/111/779111227-5976120f6955a) How can I increase the width of the JTextField which …
  • Member Avatar for John_165
    John_165

    Edited How to increase the width of JTextField in Tab?

    In my Food Tab, I wanted to achieve this [Click Here](https://sfault-image.b0.upaiyun.com/358/064/3580648794-597611aa1f701) But I only able to get this [Click Here](https://sfault-image.b0.upaiyun.com/779/111/779111227-5976120f6955a) How can I increase the width of the JTextField which …
  • Member Avatar for John_165
    John_165

    Created How to increase the width of JTextField in Tab?

    In my Food Tab, I wanted to achieve this [Click Here](https://sfault-image.b0.upaiyun.com/358/064/3580648794-597611aa1f701) But I only able to get this [Click Here](https://sfault-image.b0.upaiyun.com/779/111/779111227-5976120f6955a) How can I increase the width of the JTextField which …
  • Member Avatar for John_165
    John_165

    Began Watching How to increase the width of JTextField in Tab?

    In my Food Tab, I wanted to achieve this [Click Here](https://sfault-image.b0.upaiyun.com/358/064/3580648794-597611aa1f701) But I only able to get this [Click Here](https://sfault-image.b0.upaiyun.com/779/111/779111227-5976120f6955a) How can I increase the width of the JTextField which …
  • Member Avatar for John_165
    John_165

    Began Watching Handle Exception in ResponsesEntity java

    I wonder how to handle exception in `ResponsesEntity`. When it receive wrong url, it supposes to go to the `catch` block and display the `log`. But I keep getting error …
  • Member Avatar for John_165
    John_165

    Stopped Watching Handle Exception in ResponsesEntity java

    I wonder how to handle exception in `ResponsesEntity`. When it receive wrong url, it supposes to go to the `catch` block and display the `log`. But I keep getting error …
  • Member Avatar for John_165
    John_165

    Replied To a Post in Handle Exception in ResponsesEntity java

    > There's an active discussion ongoing in S.O. for this question, so there's no need to reply here until/unless OP comes back first. Yes,I am here
  • Member Avatar for John_165
    John_165

    Edited Handle Exception in ResponsesEntity java

    I wonder how to handle exception in `ResponsesEntity`. When it receive wrong url, it supposes to go to the `catch` block and display the `log`. But I keep getting error …
  • Member Avatar for John_165
    John_165

    Created Handle Exception in ResponsesEntity java

    I wonder how to handle exception in `ResponsesEntity`. When it receive wrong url, it supposes to go to the `catch` block and display the `log`. But I keep getting error …
  • Member Avatar for John_165
    John_165

    Began Watching Handle Exception in ResponsesEntity java

    I wonder how to handle exception in `ResponsesEntity`. When it receive wrong url, it supposes to go to the `catch` block and display the `log`. But I keep getting error …
  • Member Avatar for John_165
    John_165

    Replied To a Post in Connecting a mobile app to a MySQL database

    You have to use third-party to connect Android with MySQL
  • Member Avatar for John_165
    John_165

    Began Watching Connecting a mobile app to a MySQL database

    Greetings! I am trying to connect my android application to a MySQL database. The app serves as a tool for lawyers providing them features such as: - a calendar wherein …
  • Member Avatar for John_165
    John_165

    Marked Solved Status for New here

    A guy come from Malaysia, just want to say hi with you all :)
  • Member Avatar for John_165
    John_165

    Replied To a Post in New here

    > Hi John!! Welcome to DaniWeb :) Thanks Dani . Why I not getting any notifications if someone has replied my post ?
  • Member Avatar for John_165
    John_165

    Replied To a Post in New here

    > Morning and welcome to DaniWeb... Thanks for the warm welcome. Is afternoon here
  • Member Avatar for John_165
    John_165

    Edited New here

    A guy come from Malaysia, just want to say hi with you all :)
  • Member Avatar for John_165
    John_165

    Created New here

    A guy come from Malaysia, just want to say hi with you all :)
  • Member Avatar for John_165
    John_165

    Began Watching New here

    A guy come from Malaysia, just want to say hi with you all :)

The End.