Creating Jbuttons, etc. dynamically
I'm trying to create an App that parses an xml off of a controller on the LAN
Depending on what it finds it will create a grid layout and populate it with JButtons and Jsliders. I've already written a parser that can pick out <tags> that I want and print them to the console. I've already written an app has the gridlayout like I want. I'm sure I will have to rewrite the gridlayout app completely but atleast I know how I want it setup. My question is how do I go about parsing the xml to create Jbuttons and Jsliders dynamically at runtime? Anyone have any suggestions or a good book I should read? I am a newbie, I've just started learning Java a few months ago.