dortman
Sep 23rd, 2004, 07:40 PM
First, a quick thanks. I have a demo application up and running with very little time invested. It's not much more complex than the usual "Hello World" endeavor, but I was pleased with how quickly it came together.
The main window of the my application has a JList or a JTree on the left of the window. I then have many classes which extend JComponent. These contain a few widgets, a JTable, etc - and exist to display some relevant data. Upon selection of an item from the JList/JTree, a corresponding JComponent will be displayed in the right portion of the screen.
I was unable to find any classes in the framework to utilize for such a relationship. It's quite possible that I overlooked a viable solution. I played around with the CompondForm and NestableForm classes - but they didn't seem to be what I needed. I have it working fine now using a few classes which I implemented by simply extending Jcomponent, but then I end up losing much of the framework functionality.
Are there some classes I should be looking at?
Thanks,
-Dave
The main window of the my application has a JList or a JTree on the left of the window. I then have many classes which extend JComponent. These contain a few widgets, a JTable, etc - and exist to display some relevant data. Upon selection of an item from the JList/JTree, a corresponding JComponent will be displayed in the right portion of the screen.
I was unable to find any classes in the framework to utilize for such a relationship. It's quite possible that I overlooked a viable solution. I played around with the CompondForm and NestableForm classes - but they didn't seem to be what I needed. I have it working fine now using a few classes which I implemented by simply extending Jcomponent, but then I end up losing much of the framework functionality.
Are there some classes I should be looking at?
Thanks,
-Dave