text
stringlengths
3
1.18M
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.subsystems; import edu.wpi.first.wpilibj.*; import edu.wpi.first.wpilibj.templates.*; import edu.wpi.first.wpilibj.templates.commands.CommandBase; import edu.wpi.first.wpil...
package org.usfirst.frc4188.ColumbusCorpsBot; import edu.wpi.first.wpilibj.GenericHID; import edu.wpi.first.wpilibj.Joystick; public class CorpsJoystick extends Joystick { private boolean[] prevState; private boolean[] toggleState; private boolean wasDead = false; private final int numberOfAx...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.usfirst.frc4188.ColumbusCorpsBot; import edu.wpi.first.wpilibj.PIDOutput; import edu.wpi.first.wpilibj.RobotDrive; import edu.wpi.first.wpilibj.SpeedController; /** * @author Erin */ public c...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.usfirst.frc4188.ColumbusCorpsBot; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; /** * @author Erin * modifications by David Rush 2012 Mar 12 */ public class CorpsLog { priv...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package axisView; import edu.wpi.first.wpilibj.networktables.NetworkTable; import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax....
package axisView; import javax.swing.*; import java.awt.*; import java.net.URL; import javax.imageio.ImageIO; import java.io.InputStream; import java.awt.image.BufferedImage; class PicturePanel extends JPanel { private static final long serialVersionUID=1L; private BufferedImage image; private S...
package axisView; import javax.swing.*; public class SwingConsole { public static void run(final JFrame f, final int width, final int height) { SwingUtilities.invokeLater(new Runnable() { public void run() { f.setTitle(f.getClass().getSimpleName()); f.setDefaultCloseOperation(JFra...
package team4188; import edu.wpi.first.wpilibj.Joystick; import edu.wpi.first.wpilibj.buttons.JoystickButton; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; import team4188.commands.*; /** * This class is the glue that binds the controls on the physical operator * interface to the commands a...
package team4188; import edu.wpi.first.wpilibj.GenericHID; import edu.wpi.first.wpilibj.Joystick; public class CorpsJoystick extends Joystick { private boolean[] prevState; private boolean[] toggleState; private boolean wasDead = false; private final int numberOfAxes, throttleAxis; pri...
/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2008. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root direc...
package team4188; /** * The RobotMap is a mapping from the ports sensors and actuators are wired into * to a variable name. This provides flexibility changing wiring, makes checking * the wiring easier and significantly reduces the number of magic numbers * floating around. */ public class RobotMap { ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package team4188; import edu.wpi.first.wpilibj.PIDOutput; import edu.wpi.first.wpilibj.RobotDrive; import edu.wpi.first.wpilibj.SpeedController; /** * @author Erin */ public class CorpsRobotDrive exten...
package team4188.commands; import edu.wpi.first.wpilibj.command.Command; import team4188.OI; import team4188.subsystems.*; /** * The base for all commands. All atomic commands should subclass CommandBase. * CommandBase stores creates and stores each control system. To access a * subsystem elsewhere in y...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package team4188.commands; import team4188.RobotMap; /** * * @author Alexander Nordin */ public class DriveWithJoystick extends CommandBase { double direction=0; public DriveWithJoystick() { ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package team4188.commands; /** * * @author Alexander Nordin */ public class Stop extends CommandBase { private double Timeout; public Stop(double time) { Timeout=time; requires(d...
package team4188.commands; /** * * @author Sarah */ public class turnXDegrees extends CommandBase { private double angle; private boolean isAimed; public turnXDegrees(double angle) { requires(drivetrain); this.angle=angle; System.out.println("im in the constructor")...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package team4188.commands; import edu.wpi.first.wpilibj.command.CommandGroup; /** * * @author Alexander Nordin */ public class AutonomousCommand extends CommandGroup { public AutonomousCommand...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package team4188.commands; import edu.wpi.first.wpilibj.GenericHID; import edu.wpi.first.wpilibj.image.ParticleAnalysisReport; import team4188.RobotMap; /** * @author Erin */ public class AutoAim extends...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package team4188.commands; /** * * @author toboretasker */ public class ShooterOn extends CommandBase { public ShooterOn() { // Use requires() here to declare subsystem dependencies requires...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package team4188.commands; /** * * @author toboretasker */ public class ShooterOff extends CommandBase { public ShooterOff() { // Use requires() here to declare subsystem dependencies require...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package team4188.commands; import edu.wpi.first.wpilibj.command.CommandGroup; /** * * @author Alexander Nordin */ public class BasicAutonomous extends CommandGroup { public BasicAutonomous() {...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package team4188.subsystems; import edu.wpi.first.wpilibj.*; import edu.wpi.first.wpilibj.can.CANTimeoutException; import edu.wpi.first.wpilibj.command.Subsystem; import team4188.CorpsLog; import team4188.Corp...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package team4188.subsystems; import team4188.RobotMap; import team4188.commands.*; import edu.wpi.first.wpilibj.command.Subsystem; import edu.wpi.first.wpilibj.*; import edu.wpi.first.wpilibj.can.CANTimeoutException; /*...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package team4188; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; /** * @author Erin * modifications by David Rush 2012 Mar 12 */ public class CorpsLog { private static final boolean SMA...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * * @author Sarah */ public class Spin extends CommandBase { public Spin() { // Use requires() here to declare subsystem dependencies // eg. requires(chassis); } ...
package team4188; import edu.wpi.first.wpilibj.Joystick; import edu.wpi.first.wpilibj.buttons.JoystickButton; import team4188.commands.BasicAutonomous; import team4188.commands.CorpsJoystick; import team4188.commands.spinDegrees; import team4188.commands.spinDegreesGyro; /** * This class is the glue that...
/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2008. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directo...
package team4188; /** * The RobotMap is a mapping from the ports sensors and actuators are wired into * to a variable name. This provides flexibility changing wiring, makes checking * the wiring easier and significantly reduces the number of magic numbers * floating around. */ public class RobotMap { ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package team4188.commands; /** * * @author Alexander Nordin */ public class MoveRight extends CommandBase { private double Timeout; public MoveRight(double time) { Timeout=time; ...
package team4188.commands; import edu.wpi.first.wpilibj.command.Command; import team4188.OI; import team4188.subsystems.Drivetrain; /** * The base for all commands. All atomic commands should subclass CommandBase. * CommandBase stores creates and stores each control system. To access a * subsystem elsew...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package team4188.commands; /** * * @author Alexander Nordin */ public class DriveBack extends CommandBase { private double Timeout; public DriveBack(double time) { Timeout=time; ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package team4188.commands; import team4188.RobotMap; /** * * @author Alexander Nordin */ public class spinDegrees extends CommandBase { private double degree; public spinDegrees(double degrees)...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package team4188.commands; import team4188.RobotMap; /** * * @author Alexander Nordin */ public class DriveWithJoystick extends CommandBase { double direction=0; public DriveWithJoystick() { ...
package team4188.commands; import edu.wpi.first.wpilibj.GenericHID; import edu.wpi.first.wpilibj.Joystick; public class CorpsJoystick extends Joystick { private boolean[] prevState; private boolean[] toggleState; private boolean wasDead = false; private final int numberOfAxes, throttleAxis; ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package team4188.commands; /** * * @author Alexander Nordin */ public class Stop extends CommandBase { private double Timeout; public Stop(double time) { Timeout=time; requires(d...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package team4188.commands; /** * * @author Alexander Nordin */ public class driveStraight extends CommandBase { private double Timeout; public driveStraight(double timeout) { Timeout=ti...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package team4188.commands; /** * * @author Alexander Nordin */ public class Spin extends CommandBase { private double Timeout; public Spin(double time) { Timeout=time; requires(d...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package team4188.commands; /** * * @author Alexander Nordin */ public class MoveLeft extends CommandBase { private double Timeout; public MoveLeft(double time) { Timeout=time; requir...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package team4188.commands; import team4188.RobotMap; /** * * @author Alexander Nordin */ public class spinDegreesGyro extends CommandBase { private double degree; private double degreeChecker; ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package team4188.commands; import edu.wpi.first.wpilibj.command.CommandGroup; /** * * @author Alexander Nordin */ public class BasicAutonomous extends CommandGroup { public BasicAutonomous() {...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package team4188.subsystems; import edu.wpi.first.wpilibj.*; import edu.wpi.first.wpilibj.can.CANTimeoutException; import edu.wpi.first.wpilibj.command.Subsystem; import team4188.RobotMap; import team4188.comman...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package team4188.commands; /** * * @author Alexander Nordin */ public class MoveLeft extends CommandBase { private double Timeout; public MoveLeft(double time) { Timeout=time; requir...
#header() package ${package}.commands; #set($command = $helper.getByName($command-name, $robot)) import edu.wpi.first.wpilibj.command.CommandGroup; /** * */ public class #class($command.name) extends CommandGroup { public #class($command.name)() { // Add Commands here: // e.g....
#foreach ($component in $components) #if ($helper.exportsTo("Robot", $component)) #constructor($component) #end #end
${Collections.reverse($components)} #foreach( $component in $components ) #if ($helper.exportsTo("OI", $component) && ("#constructor($component)" != "" || "#extra($component)" != "")) #constructor($component) #extra($component) #end #end ${Collections.reverse($components)} ...
#set($command = $helper.getByName($command-name, $robot)) #if ($command.getProperty("Requires").getValue() != "None") requires(Robot.#variable(${command.getProperty("Requires").getValue()})); #end
#header() package ${package}; import ${package}.commands.*; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; ${helper.getImports($robot, "OI")} /** * This class is the glue that binds the controls on the physical operator * interface to the commands and command groups that allow control of the...
#set($command = $helper.getByName($command-name, $robot)) #set($component = $command.getProperty("Output").getValue()) #set($name = ${helper.getByName($component, $robot).fullName}) #if($name) RobotMap.#variable($name).pidWrite(output); #end
#set($subsystem = $helper.getByName($subsystem-name, $robot)) #if ($subsystem.getProperty("Default Command").getValue() != "None") setDefaultCommand(new #class($subsystem.getProperty("Default Command").getValue())()); #end
#set($subsystem = $helper.getByName($subsystem-name, $robot)) #set($component = $subsystem.getProperty("Output").getValue()) #set($name = ${helper.getByName($component, $robot).name}) #if($name) #variable($name).pidWrite(output); #end
#foreach ($component in $components) #if ($helper.exportsTo("RobotMap", $component)) #declaration($component) #end #end
#foreach ($component in $components) #if ($helper.exportsTo("OI", $component) && "#function($component)" != "") #function($component) #end #end
#foreach ($component in $components) #if ($helper.exportsTo("OI", $component) && "#type($component)" != "" ) #declaration($component) #end #end
#set($command = $helper.getByName($command-name, $robot)) return Robot.#variable(${command.getProperty("Requires").getValue()}).onTarget();
#set($command = $helper.getByName($command-name, $robot)) super("#class($command-name)", ${command.getProperty("P").getValue()}, ${command.getProperty("I").getValue()}, ${command.getProperty("D").getValue()}, ${command.getProperty("Period").getValue()}); getPIDController().setContinuous(${command.getP...
#set($subsystem = $helper.getByName($subsystem-name, $robot)) #foreach ($component in $components) #if ($component.subsystem == $subsystem.subsystem && $component != $subsystem) #type($component) #variable($component.name) = RobotMap.#variable($component.fullName); #end #end
#set($autonomous = $robot.getProperty("Autonomous Command").getValue()) #if($autonomous != "None") autonomousCommand = new #class($autonomous)(); #end
#set($subsystem = $helper.getByName($subsystem-name, $robot)) #set($input = $subsystem.getProperty("Input").getValue()) #set($component = ${helper.getByName($input, $robot)}) #if($component) return #pid($component); #end
#foreach ($component in $components) #if ($helper.exportsTo("Robot", $component)) #declaration($component) #end #end
#foreach ($component in $components) #if ($helper.exportsTo("RobotMap", $component)) #constructor($component) #livewindow($component) #extra($component) #end #end
#set($subsystem = $helper.getByName($subsystem-name, $robot)) super("#class($subsystem-name)", ${subsystem.getProperty("P").getValue()}, ${subsystem.getProperty("I").getValue()}, ${subsystem.getProperty("D").getValue()}); setAbsoluteTolerance(${subsystem.getProperty("Tolerance").getValue()}); ...
#header() package $package; import edu.wpi.first.wpilibj.IterativeRobot; import edu.wpi.first.wpilibj.command.Command; import edu.wpi.first.wpilibj.command.Scheduler; import edu.wpi.first.wpilibj.livewindow.LiveWindow; import ${package}.commands.*; import ${package}.subsystems.*; /** * The VM is configu...
#set($command = $helper.getByName($command-name, $robot)) Robot.#variable(${command.getProperty("Requires").getValue()}).enable(); Robot.#variable(${command.getProperty("Requires").getValue()}).setSetpoint(${command.getProperty("Setpoint").getValue()});
#set($command = $helper.getByName($command-name, $robot)) #set($component = $command.getProperty("Input").getValue()) #set($name = ${helper.getByName($component, $robot).fullName}) #if($name) return RobotMap.#variable($name).pidGet(); #end
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package robotbuilder.exporters; import java.io.*; import java.util.*; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.JOptionPane; import org.apache.velocity.VelocityContext; import o...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package robotbuilder.exporters; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.HashMap; import java.util.Map; import org.apache.velocity.VelocityContext; import org.apache.v...
package robotbuilder.data.properties; import java.util.Arrays; import robotbuilder.MainFrame; import robotbuilder.data.RobotComponent; import robotbuilder.data.UniqueValidator; import robotbuilder.data.Validator; /** * A property is one of the many values that can be set in a palette or robot component. * For examp...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package robotbuilder.data.properties; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import javax.swing.JFileChooser; import javax.swing.filechooser.FileNameExtensionFilter...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package robotbuilder.data.properties; import java.util.Vector; import javax.swing.ComboBoxModel; import javax.swing.DefaultComboBoxModel; import javax.swing.JComboBox; import robotbuilder.data.RobotComponent; /** * *...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package robotbuilder.data.properties; import java.util.Vector; import javax.swing.ComboBoxModel; import javax.swing.DefaultComboBoxModel; import javax.swing.JComboBox; import robotbuilder.data.RobotComponent; /** * *...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package robotbuilder.data.properties; import robotbuilder.data.RobotComponent; /** * * @author Alex Henning */ public class ParentProperty extends Property { protected RobotComponent value; public Paren...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package robotbuilder.data.properties; import robotbuilder.data.RobotComponent; /** * The Double property represents a number of the type double. * * @author Alex Henning */ public class DoubleProperty extends Prope...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package robotbuilder.data.properties; import robotbuilder.data.RobotComponent; /** * A boolean property is a property that can be true or false. It is represented * by a checkbox. * * @author Alex Henning */ publi...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package robotbuilder.data.properties; import java.util.Vector; import javax.swing.DefaultComboBoxModel; import javax.swing.JComboBox; import robotbuilder.data.RobotComponent; /** * The type selection property allows y...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package robotbuilder.data.properties; import robotbuilder.data.RobotComponent; /** * The Double property represents a number of the type double. * * @author Alex Henning */ public class IntegerProperty extends Prop...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package robotbuilder.data.properties; import javax.swing.JComboBox; import robotbuilder.data.RobotComponent; /** * A choices property allows selection from a number of known choices. * * @author Alex Henning */ pub...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package robotbuilder.data.properties; import robotbuilder.data.RobotComponent; /** * A String property represents a string. * * @author Alex Henning */ public class StringProperty extends Property { protected S...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package robotbuilder.data; /** * * @author alex */ public interface RobotVisitor<T> { public T visit(RobotComponent self, Object...extra); }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package robotbuilder.data; /** * * @author Alex Henning */ public interface RobotWalker { public void handleRobotComponent(RobotComponent self); }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package robotbuilder.data; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import robotbuilder.data.properties.Property; /** * * @author Alex Henning */ public cla...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package robotbuilder.data; import robotbuilder.data.properties.Property; /** * * @author Alex Henning */ public interface Validator { /** * Called when the properties value is updated to handle the new valu...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package robotbuilder.data; import robotbuilder.data.properties.Property; import java.util.*; import java.util.logging.Level; import java.util.logging.Logger; import robotbuilder.data.properties.ChoicesProperty; /** * ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package robotbuilder.data; import java.util.*; import robotbuilder.palette.Palette; import robotbuilder.data.properties.Property; /** * * @author brad * @author Alex Henning */ public class PaletteComponent { p...
package robotbuilder.data; import java.util.Enumeration; import java.util.HashMap; import java.util.Map; import java.util.Vector; import javax.swing.tree.DefaultMutableTreeNode; import robotbuilder.palette.Palette; import robotbuilder.robottree.RobotTree; import robotbuilder.data.properties.Property; /** *nameToAdd...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package robotbuilder.data; import robotbuilder.data.properties.Property; import java.util.List; /** * Validates that the property has a value set that is not in the list of * "Unset" values * * @author Alex Henning...
package robotbuilder; import java.awt.Dimension; import java.awt.Point; import javax.swing.JDialog; import javax.swing.JFrame; /** * * @author brad */ public class CenteredDialog extends JDialog { JFrame parent; public CenteredDialog(JFrame parent, String dialogTitle) { super(parent, dialogTitl...
package robotbuilder; import javax.swing.Box; import javax.swing.BoxLayout; import javax.swing.JComponent; /** * * @author brad */ public final class ButtonBox extends Box { int dir; public ButtonBox(int dir) { super(dir); this.dir = dir; addGlue(); } public ButtonBox() ...
package robotbuilder; import javax.swing.Box; import javax.swing.BoxLayout; import javax.swing.JLabel; import javax.swing.JPanel; /** * * @author brad */ public class StatusPanel extends Box { JLabel statusLabel; public StatusPanel() { super(BoxLayout.X_AXIS); statusLabel = new JL...
package robotbuilder.actions; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import javax.swing.Action; import robotbuilder.ActionsClass; import robotbuilder.MainFrame; /** * * @author brad */ public class OpenAction extends AbstractAction { ActionsClass saveAction; public OpenActi...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package robotbuilder.actions; import java.awt.EventQueue; import java.awt.event.ActionEvent; import java.awt.event.WindowEvent; import java.awt.event.WindowListener; import java.awt.event.WindowStateListener; import jav...
package robotbuilder.actions; import java.awt.Cursor; import java.awt.event.ActionEvent; import java.io.IOException; import java.util.Currency; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.AbstractAction; import javax.swing.Action; import javax.swing.UIManager; import robotbuild...
package robotbuilder.actions; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import javax.swing.Action; import robotbuilder.AboutDialog; import robotbuilder.MainFrame; /** * * @author brad */ public class AboutAction extends AbstractAction { public AboutAction() { putValue(Acti...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package robotbuilder.actions; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import javax.swing.Action; import javax.swing.JOptionPane; import robotbuilder.MainFrame; import robotbuilder.palette.P...
package robotbuilder.actions; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import javax.swing.Action; import robotbuilder.ActionsClass; import robotbuilder.MainFrame; import robotbuilder.palette.Palette; /** * * @author brad */ public class NewAction extends AbstractAction { ActionsCl...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package robotbuilder.actions; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import javax.swing.Action; import javax.swing.JOptionPane; import robotbuilder.MainFrame; import robotbuilder.data.Robo...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package robotbuilder.actions; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import javax.swing.Action; import robotbuilder.MainFrame; /** * * @author Sam */ public class UndoAction extends Ab...
package robotbuilder.actions; import java.awt.event.ActionEvent; import java.io.File; import javax.swing.AbstractAction; import javax.swing.Action; import javax.swing.JFileChooser; import javax.swing.filechooser.FileNameExtensionFilter; import robotbuilder.ActionsClass; import robotbuilder.MainFrame; /** * * @auth...
package robotbuilder.actions; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import javax.swing.Action; import robotbuilder.ActionsClass; import robotbuilder.MainFrame; /** * * @author brad */ public class ExitAction extends AbstractAction { ActionsClass exitAction; public ExitActi...
package robotbuilder.actions; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import javax.swing.Action; import robotbuilder.ActionsClass; import robotbuilder.MainFrame; import robotbuilder.robottree.RobotTree; /** * * @author brad */ public class SaveAction extends AbstractAction { Acti...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package robotbuilder.actions; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import javax.swing.Action; import robotbuilder.MainFrame; /** * * @author Sam */ public class RedoAction extends Ab...