Migrating software from swing to include ZVTM would be
easier if JComponents could exist within the universe. A
draggable JTextField (via MouseMotionListener) has no
equivalent at the moment.
ZVTM's goal is not to replace Swing, but to provide new kinds of
(zoomable) views that can contain large amounts of potentially complex
geometrical shapes, and to offer efficient ways of manipulating these.
Considering this, supporting the inclusion of arbitrary JComponents in
virtual spaces is not a priority, though I agree that in some cases, such
as the one you mention, this would be useful.
I am not sure how difficult this is, but I suspect it is not easy. People at
HCIL did support such inclusion in Jazz, but then decided to drop it in
Picollo.
An alternative would be to add new glyphs that mirror the capabilities of
components such as JTextField.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Since 20080703 some widgets have been created that are more paritcularly aimed at being overlaid on top of ZVTM views. Basically, these are Swing widget subclasses, such as JButton and JTextArea, but with a customized L&F and default values for background and foreground color and translucence that make them better integrated with ZVTM.
The components cannot actually be zoomed-in/zoomed-out as they are not part of the virtual space, but only overlaid on top of the ZVTM view, but that's something.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=616074
ZVTM's goal is not to replace Swing, but to provide new kinds of
(zoomable) views that can contain large amounts of potentially complex
geometrical shapes, and to offer efficient ways of manipulating these.
Considering this, supporting the inclusion of arbitrary JComponents in
virtual spaces is not a priority, though I agree that in some cases, such
as the one you mention, this would be useful.
I am not sure how difficult this is, but I suspect it is not easy. People at
HCIL did support such inclusion in Jazz, but then decided to drop it in
Picollo.
An alternative would be to add new glyphs that mirror the capabilities of
components such as JTextField.
Logged In: YES
user_id=616074
Originator: NO
Since 20080703 some widgets have been created that are more paritcularly aimed at being overlaid on top of ZVTM views. Basically, these are Swing widget subclasses, such as JButton and JTextArea, but with a customized L&F and default values for background and foreground color and translucence that make them better integrated with ZVTM.
The components cannot actually be zoomed-in/zoomed-out as they are not part of the virtual space, but only overlaid on top of the ZVTM view, but that's something.