The idea of me posting here is because I have just started with Java, i.e. I needed help, however I have solved my issue and the error was that I was using wrong calculations to colour in the...
Type: Posts; User: OBLITERATOR
The idea of me posting here is because I have just started with Java, i.e. I needed help, however I have solved my issue and the error was that I was using wrong calculations to colour in the...
Hello, I've searched the forum and I couldn't find any answers so here's my problem:
I have to partially fill in a rectangle, i'll express the idea using O's:
OOOOO
O-O- O
OOOOO
O----O
...
import javax.swing.*;
import java.awt.*;
class Intro implements Runnable
{
public static void main(String[] args)
{
Intro program = new Intro();
SwingUtilities.invokeLater(program);
}
Thank you! I hope that edit makes it look better although I should have indented it more!!!
I will try tomorrow and see what happens!
Hello all, i've just started java and i'm really not good at it, i've read about JPanel JFrame and the different layouts I can use and I still can't get my head round to setting an image as...