diff --git a/src/main/java/com/neuronrobotics/bowlerstudio/ConnectionManager.java b/src/main/java/com/neuronrobotics/bowlerstudio/ConnectionManager.java index aafb359c6..6843ee6a0 100644 --- a/src/main/java/com/neuronrobotics/bowlerstudio/ConnectionManager.java +++ b/src/main/java/com/neuronrobotics/bowlerstudio/ConnectionManager.java @@ -169,7 +169,7 @@ public static BowlerAbstractDevice pickConnectedDevice(@SuppressWarnings("rawtyp } }else{ Alert alert = new Alert(AlertType.INFORMATION); - alert.setTitle("Device not availible"); + alert.setTitle("Device not available"); alert.setHeaderText("Connect a "+class1.getSimpleName()); alert.setContentText("A device of type "+class1.getSimpleName()+" is needed"); alert .initModality(Modality.APPLICATION_MODAL); diff --git a/src/main/java/com/neuronrobotics/bowlerstudio/PluginManager.java b/src/main/java/com/neuronrobotics/bowlerstudio/PluginManager.java index bf392472e..77ccee6f7 100644 --- a/src/main/java/com/neuronrobotics/bowlerstudio/PluginManager.java +++ b/src/main/java/com/neuronrobotics/bowlerstudio/PluginManager.java @@ -74,7 +74,7 @@ public class PluginManager { public PluginManager(BowlerAbstractDevice dev){ this.dev = dev; if(!dev.isAvailable()) - throw new RuntimeException("Device is not reporting availible "+dev.getClass().getSimpleName()); + throw new RuntimeException("Device is not reporting available "+dev.getClass().getSimpleName()); } public static void addPlugin(DeviceSupportPluginMap newMap){ diff --git a/src/main/java/com/neuronrobotics/bowlerstudio/SplashManager.java b/src/main/java/com/neuronrobotics/bowlerstudio/SplashManager.java index f44e02ea5..137d9f3d3 100644 --- a/src/main/java/com/neuronrobotics/bowlerstudio/SplashManager.java +++ b/src/main/java/com/neuronrobotics/bowlerstudio/SplashManager.java @@ -82,7 +82,7 @@ private static void waitForUpdate() { } private static void initialize() { - com.neuronrobotics.sdk.common.Log.error("No splash screen availible!"); + com.neuronrobotics.sdk.common.Log.error("No splash screen available!"); loadFirst = false; } diff --git a/src/main/java/com/neuronrobotics/bowlerstudio/creature/MobleBaseMenueFactory.java b/src/main/java/com/neuronrobotics/bowlerstudio/creature/MobleBaseMenueFactory.java index 081cd04f7..3ecd5e213 100644 --- a/src/main/java/com/neuronrobotics/bowlerstudio/creature/MobleBaseMenueFactory.java +++ b/src/main/java/com/neuronrobotics/bowlerstudio/creature/MobleBaseMenueFactory.java @@ -920,7 +920,7 @@ private static void getNextChannel(MobileBase base, LinkConfiguration confOfChan } } - throw new RuntimeException("No channels are availible on given devices"); + throw new RuntimeException("No channels are available on given devices"); } private static void searchForAllLinks(MobileBase base, HashMap> deviceMap) { diff --git a/src/main/java/com/neuronrobotics/nrconsole/plugin/DyIO/Secheduler/SchedulerGui.java b/src/main/java/com/neuronrobotics/nrconsole/plugin/DyIO/Secheduler/SchedulerGui.java index 624021d41..f5dac5411 100644 --- a/src/main/java/com/neuronrobotics/nrconsole/plugin/DyIO/Secheduler/SchedulerGui.java +++ b/src/main/java/com/neuronrobotics/nrconsole/plugin/DyIO/Secheduler/SchedulerGui.java @@ -37,7 +37,7 @@ public class SchedulerGui extends JPanel{ //private DyIO d = new DyIO(); private static final long serialVersionUID = -2532174391435417313L; JPanel channelBar = new JPanel(new MigLayout()); - private IntegerComboBox availibleChans = new IntegerComboBox(); + private IntegerComboBox availableChans = new IntegerComboBox(); private IntegerComboBox usedChans = new IntegerComboBox(); private ArrayList< ServoOutputScheduleChannelUI> outputs = new ArrayList<>(); private File configFile=null; @@ -72,7 +72,7 @@ private void rmChannel(int num) { outputs.remove(s); channelBar.remove(s); usedChans.removeInteger(num); - availibleChans.addInteger(num); + availableChans.addInteger(num); } private void addServoChannel( ServoOutputScheduleChannel chan){ int selected = chan.getChannelNumber(); @@ -80,7 +80,7 @@ private void addServoChannel( ServoOutputScheduleChannel chan){ cs.addISchedulerListener(sosc); outputs.add(sosc); channelBar.add(sosc,"wrap"); - availibleChans.removeInteger(selected); + availableChans.removeInteger(selected); usedChans.addInteger(selected); } @@ -135,7 +135,7 @@ public boolean setConnection(BowlerAbstractDevice connection) { addChannel.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { try{ - int selected = availibleChans.getSelectedInteger(); + int selected = availableChans.getSelectedInteger(); addServoChannel(cs.addServoChannel(selected)); }catch (Exception ex){ @@ -144,10 +144,10 @@ public void actionPerformed(ActionEvent e) { } }); for(int i=0;i<24;i++){ - availibleChans.addInteger(i); + availableChans.addInteger(i); } addBar.add(addChannel); - addBar.add(availibleChans); + addBar.add(availableChans); JButton removeChannel = new JButton("Remove channel"); removeChannel.addActionListener(new ActionListener() {