No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
7 Posted Topics
I am not sure to understand what you really want to do with that code, or what do you mean with 'abort construction a window'. First of all, your code has a few of errors: 1. CriarEquipamentoGUI is defined like the constructor of a class of the same name, but …
[QUOTE=kjpadilla;1092653]A summary of the errors I have received can be found here - [IMG]http://i46.tinypic.com/2cdcvat.jpg[/IMG] [CODE=Java] import javax.swing.event.*; import javax.swing.*; import java.awt.*; import java.io.*; import java.net.*; import java.applet.AudioClip; [/CODE][/QUOTE] You just missed one import: java.awt.event.*; There is where ActionListener and ActionEvent are located. Try compiling again with that, should work correctly …
This is really easy. Just let me get some points clear, actually I will just base my answer in Windows OS. Assuming you know how to modify your Environmental Variables, and you know how to modify your PATH so it can work with Javac,... Step 1: 'Edit' your PATH. Step …
You need to declare [I]a[/I] as a global variable/field. To do so, you need to declare it outside all the methods, but still inside your class. I saw you had declared it as a globar & private field, but you commented it. I fixed your code, all i did was …
I'm not sure about what im going to say, But i guess you'll have to create/modify something like the PC's System boot; which is what starts the windows OS. Perhaps if you know ASM that would be easy, but in Java i cant find any solution to start anything without …
Interesting... I'll take "kill" as hiding a specific JFrame. First of all, if you need to know which JFrames are the ones you want to hide. You may implement any of the following methods to keep all your JFrame's identified: - Use an array ( JFrame[] ) - Use an …
Simple Solution, although this has been already solved: [code=Java] String time = String.format("%d:%02d", Integer.toString(hours), Integer.toString( minutes) );[/code] ~ Xhamolk_
The End.
Xhamolk_