EvilZone
Programming and Scripting => Java => : DreX September 14, 2014, 04:29:19 PM
-
Can I put both these lines in my "main" line?
How do I make this to work...so that I can use BufferedImage and my MouseMovement.
-
You separate several thrown exceptions with a comma:
public static void main(String[] args) throws IOException, AWTException {
Alternatively, but usually not recommended, you can define a parent class for throws:
public static void main(String[] args) throws Exception {
-
You separate several thrown exceptions with a comma:
public static void main(String[] args) throws IOException, AWTException {
Alternatively, but usually not recommended, you can define a parent class for throws:
public static void main(String[] args) throws Exception {
thank you. first one did the trick just fine.