Forums Register Login
This Application hates me!!! :(
Hi All!
i'm trying to convert an applet to an application! I followed teh instructions indicated at the address:
So far, as they say, so good! My maina method looks like this:
public static void main (String args[])
Frame ticTT =new Frame();

ticTT.addWindowListener (new java.awt.event.WindowAdapter()
public void windowClosing (java.awt.event.WindowEvent e)
TTTgame myGame = new TTTgame();
When I compile, the application looks the same as it did in the applet. However, none of my mouse clicks are working! and it's driving me !!
Been trying to read up and try things for the past 3hrs but i'm as clue-less as I was then!!
Please, do you have any suggestions, any ideas what I'm doing wrong??
Oh by the way, this is the Tic Tac Toe game!!
Class details below:
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
public class TTTgame extends Panel implements MouseListener
Moving this to the Swing / JFC / AWT forum...

Do you have an "addMouseListener (this)" in the TTTGame panel?
That's a very big dog. I think I want to go home now and hug this tiny ad:
Rocket Oven Kickstarter - from the trailboss

This thread has been viewed 706 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jul 17, 2018 07:31:18.