oof, id be very proud of myself if i could redo minecraft but i doubt i could! xD
Type: Posts; User: nikolaiL
oof, id be very proud of myself if i could redo minecraft but i doubt i could! xD
It shows the program working...
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.
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...
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...
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
so i have a class that creates a file:
java.io.*;
import java.lang.*;
import java.util.*;
public class CreateFile {
private Formatter x;
*facepalm* should have used a dot seperator :D oops. anyway thanks for the help guys!!
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...
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 ---
...
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;...
try a series on youtube by the "chernoproject"
https://www.youtube.com/watch?v=GFYT7Lqt1h8&list=PLsc8wGybU2IZui4lAad9F8lFjdkn2ZdWD
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){
...
public class Apples{
public static void main (String args[]){
int bucky[]={21,16,86,21,3};
int sum=0;
int average=sum;
for(int...
im a beginner and i didnt understand most of the link you embedded, would you mind explaining in a bit more detail please?
public class Apples{
public static void main (String args[]){
int array[]={21,16,86,21,3};
int sum=0;
int average;
for(int...
public class Apples{
public static void main (String args[]){
for(int counter=1;counter<=10;counter++);{
System.out.println(counter);
}
}
}
Eclipse error message:...
anyway, halleluiah its over!
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...
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...
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.
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...
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...
eclipse marketplace doesnt work for some reason, should i consider uninstalling java 8 and go for java 7?