I am a from scratch beginner working on a mundane data acquisition application in Processing that needs a settings frame. The application is functioning just fine. Now I need a way to affect settings changes to the application that are currently hard coded in the main application. I am hoping to use G4P for the controls required for this, but I have some problems that I am not sure are related to G4P misapplication or sheer ignorance. I assume the latter. The examples provided with G4P are too complex to provide the step by step guidance that I would need to learn each specific aspect of the G4P components. What I want to do in a general sense is have a button on the main acquisition frame that opens a second frame that contains text fields corresponding to the data acquisition settings. The user would make changes to fields and controls in the frame that should instantly reflect in the acquisition application or take affect when commanded or the settings frame being closed. This application needs to operate in both an OSX and Windows environment.
So far I have created a button that that creates a new G4P frame or shows an already created same frame. This frame ought to be closable, which in OSX required a specific G4P setting that is not recognized or needed in Windows. Is that normal? Should I forgo the ability to close this in OSX?
I tried a G4P textfield but I found that the ability to edit the textfield only occurs in the first instance the frame is visited. Is that normal? What is up this that? I must be missing a basic concept because the behavior I am seeing negates any usefulness. Furthermore, I see nothing in the G4P examples on how to read the results of an edited textfield. I suppose this would be obvious to someone experienced in java and therefore for that reason is not demonstrated in the examples. It is a barrier to someone not versed in the language.
Any specific help would be greatly appreciated. Thank you.
1