NapkinDotNextPlan < Projects < TWiki

TWiki . Projects . NapkinDotNextPlan

Napkin.next Plan

Intermixing formal and napkin in the same GUI

Proposed Solution Issues Merits
UIManager.setLAF(formalLAF), SwingUtilities.updateCT(node), UIManager.setLAF(Napkin) Currently Napkin will hook a global component uninstallUI() event when it is uninstalled by UIManager Simple-minded enough wink
Replace ComponentUI entries in UIDefaults, SwingUtilities.updateCT(node), restore entries UIDefaults from the formal L&F will not be present NapkinRepaintManager in 1.1-SNAPSHOT takes care of repaint of underlying Napkin components

Current solution under test

Improvements:

Working with 1.6 if it's there

List of things that need to take care of in Mustang:

The idea:

There are several problems with this, not the least of which is security -- nobody in their right minds will let an applet set a class loader, which is such a big security issue that you might as well not have any security. So this would only work in applications, otherwise we'd have to fall back on 1.5 behavior in any case.

Another idea:

Problems:

A "sketching" filter for their images (Done!)

Imagine an image filter that could do this and/or this. We could set it up so that images the user displays would be (optionally) automatically filtered like this, making their own images also "sketched". Maybe there's a better filter, but that's the basic idea.

Current solution

Making blueprint more blueprint-y

Themes that affect the way lines are fudged

Proposed Solution Issues Merits
add DrawnLineGenerator field to NapkinTheme What would be its type? Would it parameterize the line generation, or would it be a dynamically-loaded class that implemented an interface for drawing the lines?  

A calligraphy theme.

Algorithmic crumpling of the napkin

Algorithmic erasing for disabled components

Benchmarking -- is it better to choose from 100 pre-calculated checkmarks (say) than generating each one?

-- Main.alexlamsl - 26 Apr 2006

----- Revision r6 - 13 May 2009 - 09:22:32 - Main.alexlamsl