Posts by pwnagebeef
151 posts total, newest first.
help with mouse eventsin Java - So im trying to make a mouse event for a moving shape that is randomly generated and have it open another window up and keep score of it. I'm just trying to get the basic layout of it ready before i start making it fancyneed help with moving objectsin Java - nvm i solved itneed help with moving objectsin Java - well i've been assigned to make a simple java game but im already having trouble :eek: .. i need to get something to move across the screen. I'm trying to get a rectangle to go across the top portion of the application.Help with drawing Shapesin Java - [QUOTE=Erinador;5890016]You sure you're not skipping a few Java tutorials?
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
SuppressWarnings("serial")
public class shape extends JPanel {
Help with drawing Shapesin Java - so im trying to draw a rectangle, i think my code is right but the rectangle doesn't show up in the window. Here's my code, i think the problem is how i set up my objects ..maybe?...
import java.awt.Graphics;
im
Showing the 5 most recent posts.