Search:

Type: Posts; User: nikolaiL

Page 1 of 2 1 2

Search: Search took 0.07 seconds.

  1. Re: Java Exercises and Challenges Recommendations for someone with intermediate skills.

    oof, id be very proud of myself if i could redo minecraft but i doubt i could! xD
  2. Re: Program works, just not how i thought/wanted it would/to work.

    It shows the program working...
  3. Re: Program works, just not how i thought/wanted it would/to work.

    nothing in particular its just that, as i've said, in the tutorial i saw, another method is used, and ive specified, in what ive written, all the information that explains my problem.
  4. Re: Program works, just not how i thought/wanted it would/to work.

    Nothing is wrong with the method you proposed, i was just wondering how i could make 'x.format' go on a new line without having to do '\n'.

    The programs current output is as i said, all the data...
  5. Re: Program works, just not how i thought/wanted it would/to work.

    yes, but, i copied all of the code from a tutorial except, in the tutorial it shows how to add one record (in my CreateFile class) but then he just says he added more records, not showing how, but...
  6. Java Exercises and Challenges Recommendations for someone with intermediate skills.

    So i'm looking for exercise and challenges (java programs) so that i can apply everything ive learnt in java. Thanks in advance! I dont have a university degree, just thenewboston so go easy! :D
  7. Program works, just not how i thought/wanted it would/to work.

    so i have a class that creates a file:

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

    public class CreateFile {

    private Formatter x;
  8. [SOLVED] Re: Type mismatch: cannot convert from void to JTextField

    *facepalm* should have used a dot seperator :D oops. anyway thanks for the help guys!!
  9. [SOLVED] Type mismatch: cannot convert from void to JTextField

    my gui class:

    import java.awt.FlowLayout;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    import javax.swing.JFrame;
    import javax.swing.JTextField;
    import...
  10. [SOLVED] Re: Putting images in GUI. Images in source file dont seem to be recognised.

    So the program runs and i get know error but when i hover over the 'custom' button that has an image on it, another image should appear, but it doesnt. I need help with this.

    --- Update ---
    ...
  11. [SOLVED] Putting images in GUI. Images in source file dont seem to be recognised.

    This is my class with the GUI:

    import java.awt.FlowLayout;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    import javax.swing.JFrame;
    import javax.swing.JTextField;...
  12. Replies
    4
    Views
    1,027

    Re: Programming a game engine?

    try a series on youtube by the "chernoproject"
    https://www.youtube.com/watch?v=GFYT7Lqt1h8&list=PLsc8wGybU2IZui4lAad9F8lFjdkn2ZdWD
  13. Re: small problem to do with 'this.'! help and explanation much appreciated!

    thank you
  14. small problem to do with 'this.'! help and explanation much appreciated!

    So this is my secondary class
    public class Tuna{
    private int hour = 2;
    private int minute = 2;
    private int second = 3;

    public void setTime(int hour, int minute, int second){
    ...
  15. Re: Average of an array! help and explanation much appreciated! :)

    public class Apples{
    public static void main (String args[]){
    int bucky[]={21,16,86,21,3};
    int sum=0;
    int average=sum;

    for(int...
  16. Re: Average of an array! help and explanation much appreciated! :)

    im a beginner and i didnt understand most of the link you embedded, would you mind explaining in a bit more detail please?
  17. Average of an array! help and explanation much appreciated! :)

    public class Apples{
    public static void main (String args[]){
    int array[]={21,16,86,21,3};
    int sum=0;
    int average;

    for(int...
  18. Replies
    1
    Views
    773

    Problem with code, pls help!

    public class Apples{
    public static void main (String args[]){
    for(int counter=1;counter<=10;counter++);{
    System.out.println(counter);
    }
    }
    }

    Eclipse error message:...
  19. Replies
    21
    Views
    1,153

    [SOLVED] Re: What is wrong with my code? pls help!

    anyway, halleluiah its over!
  20. Replies
    21
    Views
    1,153

    [SOLVED] Re: What is wrong with my code? pls help!

    I don't really know what or how i did it but i re-installed eclipse and now i dont have a printf problem.

    --- Update ---



    im really sorry but what you're saying doesnt mean anything to me, i...
  21. Replies
    21
    Views
    1,153

    [SOLVED] Re: What is wrong with my code? pls help!

    Im not that sure what you mean, in my args ive put a string followed by another string and ive followed this code from a thenewboston.org tutorial, where it works.

    --- Update ---


    im using...
  22. Replies
    21
    Views
    1,153

    [SOLVED] Re: What is wrong with my code? pls help!

    im not really sure what you mean for the first question. For the other question are you talking about the java compiler compliance? if so its level is 1.7.
  23. Replies
    21
    Views
    1,153

    [SOLVED] Re: What is wrong with my code? pls help!

    i did but it doesnt work. minecraft doesnt work (using this only as an example because its uses java) and the java test applet on java.com doesnt work.

    --- Update ---

    it seems we're back at the...
  24. Replies
    21
    Views
    1,153

    [SOLVED] Re: What is wrong with my code? pls help!

    oh... i uninstalled java 8 iin the meantime unfortunately.

    --- Update ---

    oh no, ive really dug a hole for myself now, ive managed to uninstall actual java from my computer, this means for...
  25. Replies
    21
    Views
    1,153

    [SOLVED] Re: What is wrong with my code? pls help!

    eclipse marketplace doesnt work for some reason, should i consider uninstalling java 8 and go for java 7?
Results 1 to 25 of 30
Page 1 of 2 1 2