|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools |
Rating:
|
Display Modes |
|
#6
|
||||
|
||||
|
Re: Event Driven Development for FRC-Java
Sorry for the delay. I was mostly referring to things like "e.getSource().getId().equals("left")" ... I'm sure theres a good reason why I have to call getSource(), but it seems a bit redundant. Same thing with the subscription mechanism shown in the example: ((GRTJoystick) ds.getSensor("leftJoystick")).addJoystickListener( this); It just seems like a lot of text to do something simple. Should write some wrappers to do common operations like that (even though I *know* the latter example will only be done once or twice in a program, but I'm the type of person that likes creating lots of tiny programs for testing things, and don't want to remember all of that.
) |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [BB]: Still not Bill #2 (FRC Java Software Available) | Jason Law | General Forum | 1 | 07-12-2009 12:27 |
| **FIRST EMAIL**/FRC Java Software Available/Important Site Updates/Deadline Reminders | Mark McLeod | FIRST E-Mail Blast Archive | 0 | 03-12-2009 22:31 |
| FRC Java 2010 Documentation | alivemyst | Java | 11 | 07-09-2009 19:03 |
| [VIDEO] Wiimote Driven FRC Bot | Greg Marra | General Forum | 7 | 22-01-2008 07:56 |
| **FIRST EMAIL**/Get Ready for 2008 FRC Event Registration! | Mark McLeod | FIRST E-Mail Blast Archive | 0 | 12-09-2007 14:35 |