473,396 Members | 1,852 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Dr java - robot karel

1
Hey, im having trouble coding the flasher. I need to turn the flasher on and off. Struggling with it. Please help!

NEED TO USED AN IF STATEMENT:


Expand|Select|Wrap|Line Numbers
  1. private static void flasherOn(){
  2.       Flasher f3;
  3.       if( flasherOff(f3));
  4.       turnOn();
  5.       }
How do i fix this?!
Feb 21 '12 #1
1 2372
r035198x
13,262 8TB
Which part exactly isn't working? What happens when you run your code and what do you expect to happen instead?
Feb 21 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Adrian Lumsden | last post by:
Hello, I have an app where I have to screen scrape to capture an image from a JMF film player. The user is given a dialog with a list of frames that can be exported as images. If the one they...
198
by: Michael N. Christoff | last post by:
Java, the software developed by Sun Microsystems in the mid-1990s as a universal operating system for Internet applications, gave NASA a low-cost and easy-to-use option for running Spirit, the...
3
by: Christopher Koppler | last post by:
I need to simulate mouseclicks (in Win2K) in another application's window. Googling threw up java.awt.Robot, and a bit of trial and error showed that it could do what I needed (simulate a...
5
by: Robert Oschler | last post by:
Preamble: - I know this is the Python forum - I know about (and have used) Jython I already posted this question in comp.lang.java. But after a week I have still not received a single reply....
2
by: Jops via DotNetMonster.com | last post by:
How can I move the cursor on the screen and press buttons (like a human user) programmatically? I don't know what it is called so I couldn't google but in Java it is done via Robot-class. --...
1
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej...
6
by: Steven Nagy | last post by:
Hello gurus, I once had this program that interpreted a subset of the Java language to allow you to write movement and shooting patterns for a software "robot" which ran against a similarly...
3
by: Tuy Solang | last post by:
Hi Everyone, I am just starting to learn Java from O'Reilly CD. I could not find any example that is related to screen capture. Is it possible in Java like in Microsoft C? Thanks,
2
by: xirowei | last post by:
Dear All, I had google for example how to use java.awt.Robot class. I also read Java Document regarding of awt.Robot class. When I test below code, I get error message "cannot find symbol method...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.