You say, i must changed || to && ?
--- Update ---
Thanks :) It help :)
Type: Posts; User: xkendzu
You say, i must changed || to && ?
--- Update ---
Thanks :) It help :)
Hello guys, so i want create little program which enter the number, ant program says triangle exist or not. So code :
import java.awt.*;
import java.awt.event.ActionEvent;
import...
Can you tell me more about String builder?
Hello all. So i creating Calculator and i have a problem. First see my code :
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.*;...
I follow this full screen tutorial by youtube thenewboston. Here Screen class:
package Test;
import java.awt.*;
import javax.swing.*;
public class Screen extends JFrame {
Hi guys. So i create little program. So window is in full screen. But i need help with paint method. I think I this method not understeand fully. So code:
package Test;
import java.awt.*;...
Very very thank you andbin :)
Hello guys :) I need a little help(I think). So i start work with TxT files. And i need know how to write text in the next line if file exist. My code just last text replace new.. Here code :
Main :...
Thanks all for help :) GregBrannon, i dunno :D
Sorry me for stupid question. Java is so big. So i learn how much can... My OS windows xp.. Last question. I understeand, applet is only for web yes? So if i wanna this snake play like desktop...
Yes, you right.. I dont understeand, where write code: jar cvf Snake.jar snakeCanvas.class snakeApplet.class TyleType.class Direction.class
Its not help..
Hi guys. So me again need help :) So i create a snake game. Ant this game have more than 1 class. So i need this thing export to jar.. So i have question:
1.Do i have insert to public static void...
System.out.println("Thank you so much :)))))");
Thanks, but i watch a lot tut and this code :
public void setImage() {
ImageIcon u = new ImageIcon(getClass().getResource("/Image/Tikras2.gif"));
face = u.getImage();
}
Hi guys :) I need a little help :) So, i create a little game, and i want this game sent my friend. Problem is model. When i sent game, my friend not see a model. I Sent this thing in the folder with...
Thanks :) I fix it :) THANK THANK!!!!!
I mean Main class which have a public static void main(String[]args) { } method. :)
Hello guys. I wanna ask you, how to post variable from any class in the main class? I know how to post from main class in the next class, but dunno how to post from next class in the main..
Can you...
Okey. Thanks for help :)
Very thank You. I analized this code. But maybe you can show this thing inputed in my code? :)
I dont understeand. Can you write this thing in code ? Thanks...
Hey guys. I need help. Im java newbie and i write small program. I want post my integer variables in the next class. Here a code(I wanna change answer color):
Main class(pagrindine.java):
import...