The video was taken in North Wales so if it fits in with your channel content feel free to use it. I suggest you download a copy as I will be making it private soon.
Program was written in Java in the Processing IDE. It was created in response to a question on their forum. You find it here discourse.processing.org/t/arraylist-and-inheritance/41073/9
GUI Builder cannot be used to create this control but you can include by declaring it in the main sketch tab and creating it in the customGUI() method. Do NOT declare or create the control in the gui tab because the code will be overwritten by GUI Builder when editing the GUI.
Yes you can use both GUI Builder and the GControlPalette control on the same sketch. The GControlPalette control would have to be declared in the main sketch code tab and created in the customGUI() method. It cannot be edited using GUI Builder and should NOT be declared or created in the gui tab.
Hello Peter, one more question. I am having ghosting effects when i tried to implement this on my GUI. Do you know if there is a draw order that hides previous positions for the controlPalette?
This is a fantastic tool! However I have a question. Can this be used with your G4P GUI builder as well? I know it is not part of it, but is it possible to use both a GControlPallete and the GUI Builder for the same window?
GUI Builder cannot be used to create this control but you can include by declaring it in the main sketch tab and creating it in the customGUI() method. Do NOT declare or create the control in the gui tab because the code will be overwritten by GUI Builder when editing the GUI.
Hi Peter. Great tutorial! Found this super helpful so thank you! I have a question though. If I wanted the event on a button to be triggered by a key press as opposed to a click, how would I do this? I've built a great looking GUI and would like to use the keyboard (specifically w,a,s,d keys) to trigger my commands instead of clicking the actual buttons with my mouse. So instead of it being - "public void button1_click1(GButton source, GEvent event)", I would prefer something like - "public void button1_KEY_PRESS1(GButton source, GEvent event)"... if that makes sense? Thanks!
Finding it quite intuitive. I just have to get used to the string manipulation of Processing, it is not quite like Perl (Perl has to be the best for playing with strings). The video tutorials are essential, they are concise and compliment the examples very well. I will keep an eye on the version numbers. Thanks.
Extremely useful. I have been deciding what language to use for a GUI that will control a piece of equipment via the serial port. I like the syntax of C++ (Python is a bit weird with indents instead of brackets), this is what I have mainly used in the past. There is a lot of similarity between C++ and java and I don't have time to learn yet another language. I took part in a course on Processing with Monash University (through Future Learn), which was very good. My Visual Basic learning was back in the days of VB6, VB.net looks like a learning curve I don't have time for. When I found your GUI builder and ran a few examples I knew that was what I needed. The only trouble seems to be matching the versions of GUI Builder with the versions of Processing. The best and most recent combination seems to be Processing 3.5.3 (3.5.4 is most recent but will not run GUI Builder) and your most recent GUI builder (4.3.2). I saved some work only to find that it will not load after an update, I stoically put this down to a learning experience and I will stick with this combination for the moment, making sure to save things separately before any updates. Well done though, I appreciate the enormous effort that has gone into this work. You will of course receive acknowledgement in my final code.
I made a configuration file, but there is an error mentioning my keyboard and mouse although i used a playstation controller in the configuration file... why? Here is the error: Failed to initialize device ROCCAT Tyon Black because of: java.io.IOException: Failed to acquire device (8007001e) Failed to initialize device ROCCAT Isku FX because of: java.io.IOException: Failed to acquire device (8007001e) PS: The controller is named "Wireless Controller [Stick]"
I suggest that you look up the definition of 'acronym' in the Oxford English dictionary, GUI is as much an acronym as ASCII, NATO and NASA and it has been pronounced "gooey" for over 4 decades. BTW glad you enjoyed the video. LOL
The way you pronounce GUI "gooey" is hilarious lmao. It's not an acronym lol, you're supposed to pronounce it letter by letter. Anyways, great tutorial.
Oh God! It is really you Peter Lager? The creator of G4P? Can you make a tutorial about how to create nice menus with G4P? Like for games and that stuff...
The latest version is compatible with Processing 3. I strongly recommend you visit my website (www.lagers.org.uk/gamecontrol/index.html). You can view these videos from my website and there is more information about this library there.