April 6th, 2009, 11:06 AM
I'm not 100% sure what fixed my problem but I did get it working.
I deleted the first jpanel where I had the added the label containing the jpeg, instead I just added the...
April 6th, 2009, 10:49 AM
ESwitchDetailsPanel is a panel which will ultimately contain 48 jpanels, one for every port on the switch. I only showed the one to the router in the example for simplicity.
My thinking is
April 5th, 2009, 04:35 PM
I would try changing
ActionListener listen = new ClickListener (); to
ClickListener listen = new ClickListener ();
If you are interested in mouse clicks you can play around with...
April 5th, 2009, 02:24 PM
I am writing a Java program which is supposed to display a "picture" of a switch and then add status boxes over each port. These boxes which I implemented as jpanels change color based on the status...