Close

Adding clickable buttons

A project log for Barnabas Robotics ArduBlock Upgrade

An upgrade for ArduBlock

grace-kullGrace Kull 07/19/2019 at 01:030 Comments

Today I worked on making a clickable button from the top of the workspace that would allow the user to get the Arduino board information. The end goal is to allow the user to set the board directly from the workspace. I added a ui button in ardublock.properties. Then I went to OpenBlocksFrame.java and added a new JButton for this button. It successfully showed on the workspace upon running the code, but did not have any functionality. 

I tried reading through a bunch of the files in Ardublock and even the Arduino code, but I couldn't find a connection yet on how I could code this button. I did notice that the SerialMonitor button didn't have a listener file, which could give some useful information on how to implement this board info button, but I'll have to look further into it. 

Discussions