[izpack-devel] UserInputPanel - replacing MultiLineLabelwithJTextPane?

Bartz, Klaus Klaus.Bartz at coi.de
Wed Nov 15 18:04:19 CET 2006


Hi,
but please no removing of the class MultiLineLabel because I use
it in some custom panels.

In PacksPanelBase.createTextArea the font problem will be managed.
Simple area.setFont(getControlTextFont());

As I know current minimal VM version is 1.4.

Cheers

Klaus

>-----Original Message-----
>From: izpack-devel-bounces at lists.berlios.de
>[mailto:izpack-devel-bounces at lists.berlios.de]On Behalf Of Elmar Grom
>Sent: Wednesday, November 15, 2006 5:41 PM
>To: izpack-devel at lists.berlios.de
>Subject: Re: [izpack-devel] UserInputPanel - replacing
>MultiLineLabelwithJTextPane?
>
>
>This sounds like a good idea. However, I don't think we have 
>to be content
>with the font. It should be possible to get the label font and 
>then set that
>as font on the JTextPane.
>
>One issue might be version compatibility. At least for a while 
>there was a
>desire to have IzPack compatible as far back as possible. I 
>don't know if we
>have a policy at present and if so, what the desired version 
>compatibility
>is.
>
>	Elmar
>
>-----Original Message-----
>From: izpack-devel-bounces at lists.berlios.de
>[mailto:izpack-devel-bounces at lists.berlios.de]On Behalf Of Vladimir
>Ralev
>Sent: Saturday, November 11, 2006 4:07 AM
>To: izpack-devel at lists.berlios.de
>Subject: [izpack-devel] UserInputPanel - replacing MultiLineLabel
>withJTextPane?
>
>
>At least for staticText field types it's useful to have the html
>formatting enabled. It also allows the text to be 
>selected/copied/pasted
>(links, numbers...). With some tweaks it can start the links with the
>default Internet browser. I tested it on Windows with jdk5, 
>the only con
>being that if html content is used the default html font is different
>than the default label font, but it's not that bad (screen shot
>attached) and can be fixed either by not using "text/html" content or
>making html formatting to match the font.
>
>What do you think?
>
>--
>Vladimir Ralev, JBoss/RedHat
>
>
>_______________________________________________
>izpack-devel mailing list
>izpack-devel at lists.berlios.de
>https://lists.berlios.de/mailman/listinfo/izpack-devel
>



More information about the izpack-devel mailing list