39 Posted Topics
Re: I hope anti-spamming will work really effectively. I'm nearly got killed by the amount of spam PMs I had. | |
How can I read/write to a file? I don't mean on the local hard drive (C:// ect) I mean as in the files on the internet (Files from FTP). Like in webs.com, you upload files or create new files. Now if I created a txt file on there, how can … | |
How can I get a single line of text of a textarea? So like if I had "Hello Mellow Yellow" Then line 1 would be Hello and line 2 would be Mellow ect. How can I get that? Something like: [CODE] JTextArea area = new JTextArea(); System.out.print(area.getLineOfText());[/CODE] Thanks. | |
I tried to #include <GL/glut.h> but when I compile, I get a [link error] at WinMain@16 or Win@16 (I forgot). I don't exactly know why and I don't know what to do either. Can somebody help please? Do you need that header file? (To fix it?) Thanks in advanced. | |
How can I detect a collision between 2 images? E.G if(Image1 collidesWith Image2){} | |
I'm trying to make it so when I press ESC, it RestoreScreen() but it doesn't work. Now I don't know whether it's my method RestoreScreen() or my listeners. This is my code: [code]import javax.swing.*; import java.awt.*; import java.awt.event.*; public class main extends JFrame implements MouseListener,KeyListener{ public void keyPressed(KeyEvent e) { … | |
Why won't this work? I'm trying to make a ball appear and move along my screen but it's failing :'( . I'm :( and also trying to make it so when you press any key it restores the full screen but that's also failing. :'( Can anyone help? [CODE]import javax.swing.*; … | |
How can I develop IPhone games with Java? I've tried something called XMLVL but that doesn't seem to be up to date and I can't use it because they don't have anything I can download to use... So is there any other alternative? | |
Is there anyway to play an mp3 file in java? P.S I'm new here, hello world? |