Menu

#2 JComponent Glyphs

open
zvtm (32)
3
2012-10-24
2005-07-14
Anonymous
No

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.

Discussion

  • Emmanuel Pietriga

    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.

     
  • Emmanuel Pietriga

    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.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB