[JAVA2D] IndexColorModel

2001-03-07 Thread Stephan Heinemann
Hi, I need to construct an appropriate ColorModel for a palette-color image. Each value in the table is a 16bit unsigned. The IndexColorModel only provides 8bit bands for the index values. How do I construct a working ColorModel? Thank you, Stephan =

Re: [JAVA2D] GlyphVectors and rendering text in multiple fonts fast

2001-03-07 Thread Emmanuel Deviller
En réponse à Sampsa Mikael Sojakka <[EMAIL PROTECTED]>: I am also working on a program which need complex custom layout of text. (Desktop Publishing). I currently use a class which cache a glyphvector (per glyph!) and its basic fontmetrics. The creation of the glyphvector is pretty slow but the

[JAVA2D] reflection problem

2001-03-07 Thread Ben Arbel
hey guys when trying to instantiate a class with reflection and it worked fine while everything was in the same hierarchy level in the package.. so if im trying to do action = (BehaviorAction)c.newInstance(actionID); and the package for the action is com.xtivia.xrs.behavior.actions and