Skip to main content

Can't create fonts using resource editor

5 replies [Last post]
francisdb
Offline
Joined: 2006-06-16

Hi,

I'm trying to add a new bitmap font in the resource editor, but I can't seem to find the edit font button (as described in the pdf). Adding new fonts doesn't work.

And an exception seems to be thrown in the console:
(linux java 6)

Jun 26, 2008 1:00:46 PM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com create failed.
Jun 26, 2008 1:01:16 PM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com create failed.
java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Double
at java.lang.Double.compareTo(Double.java:32)
at javax.swing.SpinnerNumberModel.incrValue(SpinnerNumberModel.java:332)
at javax.swing.SpinnerNumberModel.getPreviousValue(SpinnerNumberModel.java:371)
at javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState(BasicSpinnerUI.java:489)
at javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState(BasicSpinnerUI.java:470)
at javax.swing.plaf.basic.BasicSpinnerUI.access$200(BasicSpinnerUI.java:33)
at javax.swing.plaf.basic.BasicSpinnerUI$Handler.stateChanged(BasicSpinnerUI.java:1047)
at javax.swing.JSpinner.fireStateChanged(JSpinner.java:435)
at javax.swing.JSpinner$ModelListener.stateChanged(JSpinner.java:362)
at javax.swing.AbstractSpinnerModel.fireStateChanged(AbstractSpinnerModel.java:102)
at javax.swing.SpinnerNumberModel.setValue(SpinnerNumberModel.java:430)
at javax.swing.JSpinner.setValue(JSpinner.java:330)
at com.sun.jwt.resources.editor.editors.CreateBitmapFont.(CreateBitmapFont.java:88)
at com.sun.jwt.resources.editor.editors.FontEditor$EditFontAction.exectute(FontEditor.java:136)
at com.sun.jwt.resource.util.BlockingAction.run(BlockingAction.java:80)
at java.lang.Thread.run(Thread.java:619)
WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com create failed.
Jun 26, 2008 1:03:46 PM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com create failed.

(:28405): Gtk-CRITICAL **: gtk_paint_box: assertion `style->depth == gdk_drawable_get_depth (window)' failed

(:28405): Gtk-CRITICAL **: gtk_paint_box: assertion `style->depth == gdk_drawable_get_depth (window)' failed
java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Double
at java.lang.Double.compareTo(Double.java:32)
at javax.swing.SpinnerNumberModel.incrValue(SpinnerNumberModel.java:332)
at javax.swing.SpinnerNumberModel.getPreviousValue(SpinnerNumberModel.java:371)
at javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState(BasicSpinnerUI.java:489)
at javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState(BasicSpinnerUI.java:470)
at javax.swing.plaf.basic.BasicSpinnerUI.access$200(BasicSpinnerUI.java:33)
at javax.swing.plaf.basic.BasicSpinnerUI$Handler.stateChanged(BasicSpinnerUI.java:1047)
at javax.swing.JSpinner.fireStateChanged(JSpinner.java:435)
at javax.swing.JSpinner$ModelListener.stateChanged(JSpinner.java:362)
at javax.swing.AbstractSpinnerModel.fireStateChanged(AbstractSpinnerModel.java:102)
at javax.swing.SpinnerNumberModel.setValue(SpinnerNumberModel.java:430)
at javax.swing.JSpinner.setValue(JSpinner.java:330)
at com.sun.jwt.resources.editor.editors.CreateBitmapFont.(CreateBitmapFont.java:88)
at com.sun.jwt.resources.editor.editors.FontEditor$EditFontAction.exectute(FontEditor.java:136)
at com.sun.jwt.resource.util.BlockingAction.run(BlockingAction.java:80)
at java.lang.Thread.run(Thread.java:619)
Jun 26, 2008 1:04:16 PM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com create failed.
Jun 26, 2008 1:04:46 PM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com create failed.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Shai Almog

Hi,
Select the tab with the font icon and press the "+" button within
that tab.

Thanks for the stack traces I will investigate these issues.

Shai.

> Hi,
>
> I'm trying to add a new bitmap font in the resource editor, but I
> can't seem to find the edit font button (as described in the pdf).
> Adding new fonts doesn't work.
>
> And an exception seems to be thrown in the console:
> (linux java 6)
>
> Jun 26, 2008 1:00:46 PM java.util.prefs.FileSystemPreferences
> syncWorld
> WARNING: Couldn't flush system prefs:
> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com
> create failed.
> Jun 26, 2008 1:01:16 PM java.util.prefs.FileSystemPreferences
> syncWorld
> WARNING: Couldn't flush system prefs:
> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com
> create failed.
> java.lang.ClassCastException: java.lang.Integer cannot be cast to
> java.lang.Double
> at java.lang.Double.compareTo(Double.java:32)
> at javax.swing.SpinnerNumberModel.incrValue
> (SpinnerNumberModel.java:332)
> at javax.swing.SpinnerNumberModel.getPreviousValue
> (SpinnerNumberModel.java:371)
> at javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState
> (BasicSpinnerUI.java:489)
> at javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState
> (BasicSpinnerUI.java:470)
> at javax.swing.plaf.basic.BasicSpinnerUI.access$200
> (BasicSpinnerUI.java:33)
> at javax.swing.plaf.basic.BasicSpinnerUI$Handler.stateChanged
> (BasicSpinnerUI.java:1047)
> at javax.swing.JSpinner.fireStateChanged(JSpinner.java:435)
> at javax.swing.JSpinner$ModelListener.stateChanged(JSpinner.java:362)
> at javax.swing.AbstractSpinnerModel.fireStateChanged
> (AbstractSpinnerModel.java:102)
> at javax.swing.SpinnerNumberModel.setValue(SpinnerNumberModel.java:
> 430)
> at javax.swing.JSpinner.setValue(JSpinner.java:330)
> at com.sun.jwt.resources.editor.editors.CreateBitmapFont.
> (CreateBitmapFont.java:88)
> at com.sun.jwt.resources.editor.editors.FontEditor
> $EditFontAction.exectute(FontEditor.java:136)
> at com.sun.jwt.resource.util.BlockingAction.run
> (BlockingAction.java:80)
> at java.lang.Thread.run(Thread.java:619)
> WARNING: Couldn't flush system prefs:
> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com
> create failed.
> Jun 26, 2008 1:03:46 PM java.util.prefs.FileSystemPreferences
> syncWorld
> WARNING: Couldn't flush system prefs:
> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com
> create failed.
>
> (:28405): Gtk-CRITICAL **: gtk_paint_box: assertion `style-
> >depth == gdk_drawable_get_depth (window)' failed
>
> (:28405): Gtk-CRITICAL **: gtk_paint_box: assertion `style-
> >depth == gdk_drawable_get_depth (window)' failed
> java.lang.ClassCastException: java.lang.Integer cannot be cast to
> java.lang.Double
> at java.lang.Double.compareTo(Double.java:32)
> at javax.swing.SpinnerNumberModel.incrValue
> (SpinnerNumberModel.java:332)
> at javax.swing.SpinnerNumberModel.getPreviousValue
> (SpinnerNumberModel.java:371)
> at javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState
> (BasicSpinnerUI.java:489)
> at javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState
> (BasicSpinnerUI.java:470)
> at javax.swing.plaf.basic.BasicSpinnerUI.access$200
> (BasicSpinnerUI.java:33)
> at javax.swing.plaf.basic.BasicSpinnerUI$Handler.stateChanged
> (BasicSpinnerUI.java:1047)
> at javax.swing.JSpinner.fireStateChanged(JSpinner.java:435)
> at javax.swing.JSpinner$ModelListener.stateChanged(JSpinner.java:362)
> at javax.swing.AbstractSpinnerModel.fireStateChanged
> (AbstractSpinnerModel.java:102)
> at javax.swing.SpinnerNumberModel.setValue(SpinnerNumberModel.java:
> 430)
> at javax.swing.JSpinner.setValue(JSpinner.java:330)
> at com.sun.jwt.resources.editor.editors.CreateBitmapFont.
> (CreateBitmapFont.java:88)
> at com.sun.jwt.resources.editor.editors.FontEditor
> $EditFontAction.exectute(FontEditor.java:136)
> at com.sun.jwt.resource.util.BlockingAction.run
> (BlockingAction.java:80)
> at java.lang.Thread.run(Thread.java:619)
> Jun 26, 2008 1:04:16 PM java.util.prefs.FileSystemPreferences
> syncWorld
> WARNING: Couldn't flush system prefs:
> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com
> create failed.
> Jun 26, 2008 1:04:46 PM java.util.prefs.FileSystemPreferences
> syncWorld
> WARNING: Couldn't flush system prefs:
> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com
> create failed.
> [Message sent by forum member 'francisdb' (francisdb)]
>
> http://forums.java.net/jive/thread.jspa?messageID=282767
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
> For additional commands, e-mail: users-help@lwuit.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
For additional commands, e-mail: users-help@lwuit.dev.java.net

Francis De Brabandere

Well I've been trying that but no fonts are added, nothing happens
after entering the name (exception + stacktrace), and where do I edit
existing fonts? The only button I have is recreate font but that
doesn't seem to do anything...

On Thu, Jun 26, 2008 at 4:47 PM, Shai Almog wrote:
> Hi,
> Select the tab with the font icon and press the "+" button within that tab.
>
> Thanks for the stack traces I will investigate these issues.
>
> Shai.
>
>> Hi,
>>
>> I'm trying to add a new bitmap font in the resource editor, but I can't
>> seem to find the edit font button (as described in the pdf). Adding new
>> fonts doesn't work.
>>
>> And an exception seems to be thrown in the console:
>> (linux java 6)
>>
>> Jun 26, 2008 1:00:46 PM java.util.prefs.FileSystemPreferences syncWorld
>> WARNING: Couldn't flush system prefs:
>> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com create
>> failed.
>> Jun 26, 2008 1:01:16 PM java.util.prefs.FileSystemPreferences syncWorld
>> WARNING: Couldn't flush system prefs:
>> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com create
>> failed.
>> java.lang.ClassCastException: java.lang.Integer cannot be cast to
>> java.lang.Double
>> at java.lang.Double.compareTo(Double.java:32)
>> at
>> javax.swing.SpinnerNumberModel.incrValue(SpinnerNumberModel.java:332)
>> at
>> javax.swing.SpinnerNumberModel.getPreviousValue(SpinnerNumberModel.java:371)
>> at
>> javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState(BasicSpinnerUI.java:489)
>> at
>> javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState(BasicSpinnerUI.java:470)
>> at
>> javax.swing.plaf.basic.BasicSpinnerUI.access$200(BasicSpinnerUI.java:33)
>> at
>> javax.swing.plaf.basic.BasicSpinnerUI$Handler.stateChanged(BasicSpinnerUI.java:1047)
>> at javax.swing.JSpinner.fireStateChanged(JSpinner.java:435)
>> at
>> javax.swing.JSpinner$ModelListener.stateChanged(JSpinner.java:362)
>> at
>> javax.swing.AbstractSpinnerModel.fireStateChanged(AbstractSpinnerModel.java:102)
>> at
>> javax.swing.SpinnerNumberModel.setValue(SpinnerNumberModel.java:430)
>> at javax.swing.JSpinner.setValue(JSpinner.java:330)
>> at
>> com.sun.jwt.resources.editor.editors.CreateBitmapFont.(CreateBitmapFont.java:88)
>> at
>> com.sun.jwt.resources.editor.editors.FontEditor$EditFontAction.exectute(FontEditor.java:136)
>> at
>> com.sun.jwt.resource.util.BlockingAction.run(BlockingAction.java:80)
>> at java.lang.Thread.run(Thread.java:619)
>> WARNING: Couldn't flush system prefs:
>> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com create
>> failed.
>> Jun 26, 2008 1:03:46 PM java.util.prefs.FileSystemPreferences syncWorld
>> WARNING: Couldn't flush system prefs:
>> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com create
>> failed.
>>
>> (:28405): Gtk-CRITICAL **: gtk_paint_box: assertion `style->depth
>> == gdk_drawable_get_depth (window)' failed
>>
>> (:28405): Gtk-CRITICAL **: gtk_paint_box: assertion `style->depth
>> == gdk_drawable_get_depth (window)' failed
>> java.lang.ClassCastException: java.lang.Integer cannot be cast to
>> java.lang.Double
>> at java.lang.Double.compareTo(Double.java:32)
>> at
>> javax.swing.SpinnerNumberModel.incrValue(SpinnerNumberModel.java:332)
>> at
>> javax.swing.SpinnerNumberModel.getPreviousValue(SpinnerNumberModel.java:371)
>> at
>> javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState(BasicSpinnerUI.java:489)
>> at
>> javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState(BasicSpinnerUI.java:470)
>> at
>> javax.swing.plaf.basic.BasicSpinnerUI.access$200(BasicSpinnerUI.java:33)
>> at
>> javax.swing.plaf.basic.BasicSpinnerUI$Handler.stateChanged(BasicSpinnerUI.java:1047)
>> at javax.swing.JSpinner.fireStateChanged(JSpinner.java:435)
>> at
>> javax.swing.JSpinner$ModelListener.stateChanged(JSpinner.java:362)
>> at
>> javax.swing.AbstractSpinnerModel.fireStateChanged(AbstractSpinnerModel.java:102)
>> at
>> javax.swing.SpinnerNumberModel.setValue(SpinnerNumberModel.java:430)
>> at javax.swing.JSpinner.setValue(JSpinner.java:330)
>> at
>> com.sun.jwt.resources.editor.editors.CreateBitmapFont.(CreateBitmapFont.java:88)
>> at
>> com.sun.jwt.resources.editor.editors.FontEditor$EditFontAction.exectute(FontEditor.java:136)
>> at
>> com.sun.jwt.resource.util.BlockingAction.run(BlockingAction.java:80)
>> at java.lang.Thread.run(Thread.java:619)
>> Jun 26, 2008 1:04:16 PM java.util.prefs.FileSystemPreferences syncWorld
>> WARNING: Couldn't flush system prefs:
>> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com create
>> failed.
>> Jun 26, 2008 1:04:46 PM java.util.prefs.FileSystemPreferences syncWorld
>> WARNING: Couldn't flush system prefs:
>> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com create
>> failed.
>> [Message sent by forum member 'francisdb' (francisdb)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=282767
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
>> For additional commands, e-mail: users-help@lwuit.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
> For additional commands, e-mail: users-help@lwuit.dev.java.net
>
>

--
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
For additional commands, e-mail: users-help@lwuit.dev.java.net

Shai Almog

OK,
If you are getting recreate font then you got the font dialog before.
This dialog allows you to create a font with the appropriate name
which appears in the tabbed pane to the left.

I will try to update the guide shots when I can but this seems to
work on my machine. I'm not exactly clear on what the problem is on
yours.

Try using the older version if you have issues since the resource
editor hasn't changed significantly.
[Picture 24.png]

> Well I've been trying that but no fonts are added, nothing happens
> after entering the name (exception + stacktrace), and where do I edit
> existing fonts? The only button I have is recreate font but that
> doesn't seem to do anything...
>
> On Thu, Jun 26, 2008 at 4:47 PM, Shai Almog
> wrote:
>> Hi,
>> Select the tab with the font icon and press the "+" button within
>> that tab.
>>
>> Thanks for the stack traces I will investigate these issues.
>>
>> Shai.
>>
>>> Hi,
>>>
>>> I'm trying to add a new bitmap font in the resource editor, but I
>>> can't
>>> seem to find the edit font button (as described in the pdf).
>>> Adding new
>>> fonts doesn't work.
>>>
>>> And an exception seems to be thrown in the console:
>>> (linux java 6)
>>>
>>> Jun 26, 2008 1:00:46 PM java.util.prefs.FileSystemPreferences
>>> syncWorld
>>> WARNING: Couldn't flush system prefs:
>>> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/
>>> com create
>>> failed.
>>> Jun 26, 2008 1:01:16 PM java.util.prefs.FileSystemPreferences
>>> syncWorld
>>> WARNING: Couldn't flush system prefs:
>>> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/
>>> com create
>>> failed.
>>> java.lang.ClassCastException: java.lang.Integer cannot be cast to
>>> java.lang.Double
>>> at java.lang.Double.compareTo(Double.java:32)
>>> at
>>> javax.swing.SpinnerNumberModel.incrValue(SpinnerNumberModel.java:
>>> 332)
>>> at
>>> javax.swing.SpinnerNumberModel.getPreviousValue
>>> (SpinnerNumberModel.java:371)
>>> at
>>> javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState
>>> (BasicSpinnerUI.java:489)
>>> at
>>> javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState
>>> (BasicSpinnerUI.java:470)
>>> at
>>> javax.swing.plaf.basic.BasicSpinnerUI.access$200
>>> (BasicSpinnerUI.java:33)
>>> at
>>> javax.swing.plaf.basic.BasicSpinnerUI$Handler.stateChanged
>>> (BasicSpinnerUI.java:1047)
>>> at javax.swing.JSpinner.fireStateChanged(JSpinner.java:435)
>>> at
>>> javax.swing.JSpinner$ModelListener.stateChanged(JSpinner.java:362)
>>> at
>>> javax.swing.AbstractSpinnerModel.fireStateChanged
>>> (AbstractSpinnerModel.java:102)
>>> at
>>> javax.swing.SpinnerNumberModel.setValue(SpinnerNumberModel.java:430)
>>> at javax.swing.JSpinner.setValue(JSpinner.java:330)
>>> at
>>> com.sun.jwt.resources.editor.editors.CreateBitmapFont.
>>> (CreateBitmapFont.java:88)
>>> at
>>> com.sun.jwt.resources.editor.editors.FontEditor
>>> $EditFontAction.exectute(FontEditor.java:136)
>>> at
>>> com.sun.jwt.resource.util.BlockingAction.run(BlockingAction.java:80)
>>> at java.lang.Thread.run(Thread.java:619)
>>> WARNING: Couldn't flush system prefs:
>>> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/
>>> com create
>>> failed.
>>> Jun 26, 2008 1:03:46 PM java.util.prefs.FileSystemPreferences
>>> syncWorld
>>> WARNING: Couldn't flush system prefs:
>>> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/
>>> com create
>>> failed.
>>>
>>> (:28405): Gtk-CRITICAL **: gtk_paint_box: assertion
>>> `style->depth
>>> == gdk_drawable_get_depth (window)' failed
>>>
>>> (:28405): Gtk-CRITICAL **: gtk_paint_box: assertion
>>> `style->depth
>>> == gdk_drawable_get_depth (window)' failed
>>> java.lang.ClassCastException: java.lang.Integer cannot be cast to
>>> java.lang.Double
>>> at java.lang.Double.compareTo(Double.java:32)
>>> at
>>> javax.swing.SpinnerNumberModel.incrValue(SpinnerNumberModel.java:
>>> 332)
>>> at
>>> javax.swing.SpinnerNumberModel.getPreviousValue
>>> (SpinnerNumberModel.java:371)
>>> at
>>> javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState
>>> (BasicSpinnerUI.java:489)
>>> at
>>> javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState
>>> (BasicSpinnerUI.java:470)
>>> at
>>> javax.swing.plaf.basic.BasicSpinnerUI.access$200
>>> (BasicSpinnerUI.java:33)
>>> at
>>> javax.swing.plaf.basic.BasicSpinnerUI$Handler.stateChanged
>>> (BasicSpinnerUI.java:1047)
>>> at javax.swing.JSpinner.fireStateChanged(JSpinner.java:435)
>>> at
>>> javax.swing.JSpinner$ModelListener.stateChanged(JSpinner.java:362)
>>> at
>>> javax.swing.AbstractSpinnerModel.fireStateChanged
>>> (AbstractSpinnerModel.java:102)
>>> at
>>> javax.swing.SpinnerNumberModel.setValue(SpinnerNumberModel.java:430)
>>> at javax.swing.JSpinner.setValue(JSpinner.java:330)
>>> at
>>> com.sun.jwt.resources.editor.editors.CreateBitmapFont.
>>> (CreateBitmapFont.java:88)
>>> at
>>> com.sun.jwt.resources.editor.editors.FontEditor
>>> $EditFontAction.exectute(FontEditor.java:136)
>>> at
>>> com.sun.jwt.resource.util.BlockingAction.run(BlockingAction.java:80)
>>> at java.lang.Thread.run(Thread.java:619)
>>> Jun 26, 2008 1:04:16 PM java.util.prefs.FileSystemPreferences
>>> syncWorld
>>> WARNING: Couldn't flush system prefs:
>>> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/
>>> com create
>>> failed.
>>> Jun 26, 2008 1:04:46 PM java.util.prefs.FileSystemPreferences
>>> syncWorld
>>> WARNING: Couldn't flush system prefs:
>>> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/
>>> com create
>>> failed.
>>> [Message sent by forum member 'francisdb' (francisdb)]
>>>
>>> http://forums.java.net/jive/thread.jspa?messageID=282767
>>>
>>> --------------------------------------------------------------------
>>> -
>>> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
>>> For additional commands, e-mail: users-help@lwuit.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
>> For additional commands, e-mail: users-help@lwuit.dev.java.net
>>
>>
>
>
>
> --
> http://www.somatik.be
> Microsoft gives you windows, Linux gives you the whole house.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
> For additional commands, e-mail: users-help@lwuit.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
For additional commands, e-mail: users-help@lwuit.dev.java.net

Francis De Brabandere

It's not that I don't understand how it works, adding a font is
broken, recreate font is broken (linux, java6 using system l&f).

I just found out it's a linux,GTK+ look&feel bug, Metal l&f works.
I'll create an issue in the tracker.

On Thu, Jun 26, 2008 at 4:57 PM, Shai Almog wrote:
> OK,
> If you are getting recreate font then you got the font dialog before. This
> dialog allows you to create a font with the appropriate name which appears
> in the tabbed pane to the left.
>
> I will try to update the guide shots when I can but this seems to work on my
> machine. I'm not exactly clear on what the problem is on yours.
>
> Try using the older version if you have issues since the resource editor
> hasn't changed significantly.
>
>
>
>> Well I've been trying that but no fonts are added, nothing happens
>> after entering the name (exception + stacktrace), and where do I edit
>> existing fonts? The only button I have is recreate font but that
>> doesn't seem to do anything...
>>
>> On Thu, Jun 26, 2008 at 4:47 PM, Shai Almog wrote:
>>>
>>> Hi,
>>> Select the tab with the font icon and press the "+" button within that
>>> tab.
>>>
>>> Thanks for the stack traces I will investigate these issues.
>>>
>>> Shai.
>>>
>>>> Hi,
>>>>
>>>> I'm trying to add a new bitmap font in the resource editor, but I can't
>>>> seem to find the edit font button (as described in the pdf). Adding new
>>>> fonts doesn't work.
>>>>
>>>> And an exception seems to be thrown in the console:
>>>> (linux java 6)
>>>>
>>>> Jun 26, 2008 1:00:46 PM java.util.prefs.FileSystemPreferences syncWorld
>>>> WARNING: Couldn't flush system prefs:
>>>> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com
>>>> create
>>>> failed.
>>>> Jun 26, 2008 1:01:16 PM java.util.prefs.FileSystemPreferences syncWorld
>>>> WARNING: Couldn't flush system prefs:
>>>> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com
>>>> create
>>>> failed.
>>>> java.lang.ClassCastException: java.lang.Integer cannot be cast to
>>>> java.lang.Double
>>>> at java.lang.Double.compareTo(Double.java:32)
>>>> at
>>>> javax.swing.SpinnerNumberModel.incrValue(SpinnerNumberModel.java:332)
>>>> at
>>>>
>>>> javax.swing.SpinnerNumberModel.getPreviousValue(SpinnerNumberModel.java:371)
>>>> at
>>>>
>>>> javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState(BasicSpinnerUI.java:489)
>>>> at
>>>>
>>>> javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState(BasicSpinnerUI.java:470)
>>>> at
>>>> javax.swing.plaf.basic.BasicSpinnerUI.access$200(BasicSpinnerUI.java:33)
>>>> at
>>>>
>>>> javax.swing.plaf.basic.BasicSpinnerUI$Handler.stateChanged(BasicSpinnerUI.java:1047)
>>>> at javax.swing.JSpinner.fireStateChanged(JSpinner.java:435)
>>>> at
>>>> javax.swing.JSpinner$ModelListener.stateChanged(JSpinner.java:362)
>>>> at
>>>>
>>>> javax.swing.AbstractSpinnerModel.fireStateChanged(AbstractSpinnerModel.java:102)
>>>> at
>>>> javax.swing.SpinnerNumberModel.setValue(SpinnerNumberModel.java:430)
>>>> at javax.swing.JSpinner.setValue(JSpinner.java:330)
>>>> at
>>>>
>>>> com.sun.jwt.resources.editor.editors.CreateBitmapFont.(CreateBitmapFont.java:88)
>>>> at
>>>>
>>>> com.sun.jwt.resources.editor.editors.FontEditor$EditFontAction.exectute(FontEditor.java:136)
>>>> at
>>>> com.sun.jwt.resource.util.BlockingAction.run(BlockingAction.java:80)
>>>> at java.lang.Thread.run(Thread.java:619)
>>>> WARNING: Couldn't flush system prefs:
>>>> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com
>>>> create
>>>> failed.
>>>> Jun 26, 2008 1:03:46 PM java.util.prefs.FileSystemPreferences syncWorld
>>>> WARNING: Couldn't flush system prefs:
>>>> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com
>>>> create
>>>> failed.
>>>>
>>>> (:28405): Gtk-CRITICAL **: gtk_paint_box: assertion
>>>> `style->depth
>>>> == gdk_drawable_get_depth (window)' failed
>>>>
>>>> (:28405): Gtk-CRITICAL **: gtk_paint_box: assertion
>>>> `style->depth
>>>> == gdk_drawable_get_depth (window)' failed
>>>> java.lang.ClassCastException: java.lang.Integer cannot be cast to
>>>> java.lang.Double
>>>> at java.lang.Double.compareTo(Double.java:32)
>>>> at
>>>> javax.swing.SpinnerNumberModel.incrValue(SpinnerNumberModel.java:332)
>>>> at
>>>>
>>>> javax.swing.SpinnerNumberModel.getPreviousValue(SpinnerNumberModel.java:371)
>>>> at
>>>>
>>>> javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState(BasicSpinnerUI.java:489)
>>>> at
>>>>
>>>> javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState(BasicSpinnerUI.java:470)
>>>> at
>>>> javax.swing.plaf.basic.BasicSpinnerUI.access$200(BasicSpinnerUI.java:33)
>>>> at
>>>>
>>>> javax.swing.plaf.basic.BasicSpinnerUI$Handler.stateChanged(BasicSpinnerUI.java:1047)
>>>> at javax.swing.JSpinner.fireStateChanged(JSpinner.java:435)
>>>> at
>>>> javax.swing.JSpinner$ModelListener.stateChanged(JSpinner.java:362)
>>>> at
>>>>
>>>> javax.swing.AbstractSpinnerModel.fireStateChanged(AbstractSpinnerModel.java:102)
>>>> at
>>>> javax.swing.SpinnerNumberModel.setValue(SpinnerNumberModel.java:430)
>>>> at javax.swing.JSpinner.setValue(JSpinner.java:330)
>>>> at
>>>>
>>>> com.sun.jwt.resources.editor.editors.CreateBitmapFont.(CreateBitmapFont.java:88)
>>>> at
>>>>
>>>> com.sun.jwt.resources.editor.editors.FontEditor$EditFontAction.exectute(FontEditor.java:136)
>>>> at
>>>> com.sun.jwt.resource.util.BlockingAction.run(BlockingAction.java:80)
>>>> at java.lang.Thread.run(Thread.java:619)
>>>> Jun 26, 2008 1:04:16 PM java.util.prefs.FileSystemPreferences syncWorld
>>>> WARNING: Couldn't flush system prefs:
>>>> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com
>>>> create
>>>> failed.
>>>> Jun 26, 2008 1:04:46 PM java.util.prefs.FileSystemPreferences syncWorld
>>>> WARNING: Couldn't flush system prefs:
>>>> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com
>>>> create
>>>> failed.
>>>> [Message sent by forum member 'francisdb' (francisdb)]
>>>>
>>>> http://forums.java.net/jive/thread.jspa?messageID=282767
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
>>>> For additional commands, e-mail: users-help@lwuit.dev.java.net
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
>>> For additional commands, e-mail: users-help@lwuit.dev.java.net
>>>
>>>
>>
>>
>>
>> --
>> http://www.somatik.be
>> Microsoft gives you windows, Linux gives you the whole house.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
>> For additional commands, e-mail: users-help@lwuit.dev.java.net
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
> For additional commands, e-mail: users-help@lwuit.dev.java.net
>

--
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
For additional commands, e-mail: users-help@lwuit.dev.java.net

Shai Almog

Thanks,
I'll try to find a GTK machine for that. This is why I added LF
switching ability, there are just too many bugs in the Vista/GTK L&F.

Shai.

> It's not that I don't understand how it works, adding a font is
> broken, recreate font is broken (linux, java6 using system l&f).
>
> I just found out it's a linux,GTK+ look&feel bug, Metal l&f works.
> I'll create an issue in the tracker.
>
> On Thu, Jun 26, 2008 at 4:57 PM, Shai Almog
> wrote:
>> OK,
>> If you are getting recreate font then you got the font dialog
>> before. This
>> dialog allows you to create a font with the appropriate name which
>> appears
>> in the tabbed pane to the left.
>>
>> I will try to update the guide shots when I can but this seems to
>> work on my
>> machine. I'm not exactly clear on what the problem is on yours.
>>
>> Try using the older version if you have issues since the resource
>> editor
>> hasn't changed significantly.
>>
>>
>>
>>> Well I've been trying that but no fonts are added, nothing happens
>>> after entering the name (exception + stacktrace), and where do I
>>> edit
>>> existing fonts? The only button I have is recreate font but that
>>> doesn't seem to do anything...
>>>
>>> On Thu, Jun 26, 2008 at 4:47 PM, Shai Almog
>>> wrote:
>>>>
>>>> Hi,
>>>> Select the tab with the font icon and press the "+" button
>>>> within that
>>>> tab.
>>>>
>>>> Thanks for the stack traces I will investigate these issues.
>>>>
>>>> Shai.
>>>>
>>>>> Hi,
>>>>>
>>>>> I'm trying to add a new bitmap font in the resource editor, but
>>>>> I can't
>>>>> seem to find the edit font button (as described in the pdf).
>>>>> Adding new
>>>>> fonts doesn't work.
>>>>>
>>>>> And an exception seems to be thrown in the console:
>>>>> (linux java 6)
>>>>>
>>>>> Jun 26, 2008 1:00:46 PM java.util.prefs.FileSystemPreferences
>>>>> syncWorld
>>>>> WARNING: Couldn't flush system prefs:
>>>>> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com
>>>>> create
>>>>> failed.
>>>>> Jun 26, 2008 1:01:16 PM java.util.prefs.FileSystemPreferences
>>>>> syncWorld
>>>>> WARNING: Couldn't flush system prefs:
>>>>> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com
>>>>> create
>>>>> failed.
>>>>> java.lang.ClassCastException: java.lang.Integer cannot be cast to
>>>>> java.lang.Double
>>>>> at java.lang.Double.compareTo(Double.java:32)
>>>>> at
>>>>> javax.swing.SpinnerNumberModel.incrValue
>>>>> (SpinnerNumberModel.java:332)
>>>>> at
>>>>>
>>>>> javax.swing.SpinnerNumberModel.getPreviousValue
>>>>> (SpinnerNumberModel.java:371)
>>>>> at
>>>>>
>>>>> javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState
>>>>> (BasicSpinnerUI.java:489)
>>>>> at
>>>>>
>>>>> javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState
>>>>> (BasicSpinnerUI.java:470)
>>>>> at
>>>>> javax.swing.plaf.basic.BasicSpinnerUI.access$200
>>>>> (BasicSpinnerUI.java:33)
>>>>> at
>>>>>
>>>>> javax.swing.plaf.basic.BasicSpinnerUI$Handler.stateChanged
>>>>> (BasicSpinnerUI.java:1047)
>>>>> at javax.swing.JSpinner.fireStateChanged(JSpinner.java:435)
>>>>> at
>>>>> javax.swing.JSpinner$ModelListener.stateChanged(JSpinner.java:362)
>>>>> at
>>>>>
>>>>> javax.swing.AbstractSpinnerModel.fireStateChanged
>>>>> (AbstractSpinnerModel.java:102)
>>>>> at
>>>>> javax.swing.SpinnerNumberModel.setValue(SpinnerNumberModel.java:
>>>>> 430)
>>>>> at javax.swing.JSpinner.setValue(JSpinner.java:330)
>>>>> at
>>>>>
>>>>> com.sun.jwt.resources.editor.editors.CreateBitmapFont.
>>>>> (CreateBitmapFont.java:88)
>>>>> at
>>>>>
>>>>> com.sun.jwt.resources.editor.editors.FontEditor
>>>>> $EditFontAction.exectute(FontEditor.java:136)
>>>>> at
>>>>> com.sun.jwt.resource.util.BlockingAction.run
>>>>> (BlockingAction.java:80)
>>>>> at java.lang.Thread.run(Thread.java:619)
>>>>> WARNING: Couldn't flush system prefs:
>>>>> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com
>>>>> create
>>>>> failed.
>>>>> Jun 26, 2008 1:03:46 PM java.util.prefs.FileSystemPreferences
>>>>> syncWorld
>>>>> WARNING: Couldn't flush system prefs:
>>>>> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com
>>>>> create
>>>>> failed.
>>>>>
>>>>> (:28405): Gtk-CRITICAL **: gtk_paint_box: assertion
>>>>> `style->depth
>>>>> == gdk_drawable_get_depth (window)' failed
>>>>>
>>>>> (:28405): Gtk-CRITICAL **: gtk_paint_box: assertion
>>>>> `style->depth
>>>>> == gdk_drawable_get_depth (window)' failed
>>>>> java.lang.ClassCastException: java.lang.Integer cannot be cast to
>>>>> java.lang.Double
>>>>> at java.lang.Double.compareTo(Double.java:32)
>>>>> at
>>>>> javax.swing.SpinnerNumberModel.incrValue
>>>>> (SpinnerNumberModel.java:332)
>>>>> at
>>>>>
>>>>> javax.swing.SpinnerNumberModel.getPreviousValue
>>>>> (SpinnerNumberModel.java:371)
>>>>> at
>>>>>
>>>>> javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState
>>>>> (BasicSpinnerUI.java:489)
>>>>> at
>>>>>
>>>>> javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState
>>>>> (BasicSpinnerUI.java:470)
>>>>> at
>>>>> javax.swing.plaf.basic.BasicSpinnerUI.access$200
>>>>> (BasicSpinnerUI.java:33)
>>>>> at
>>>>>
>>>>> javax.swing.plaf.basic.BasicSpinnerUI$Handler.stateChanged
>>>>> (BasicSpinnerUI.java:1047)
>>>>> at javax.swing.JSpinner.fireStateChanged(JSpinner.java:435)
>>>>> at
>>>>> javax.swing.JSpinner$ModelListener.stateChanged(JSpinner.java:362)
>>>>> at
>>>>>
>>>>> javax.swing.AbstractSpinnerModel.fireStateChanged
>>>>> (AbstractSpinnerModel.java:102)
>>>>> at
>>>>> javax.swing.SpinnerNumberModel.setValue(SpinnerNumberModel.java:
>>>>> 430)
>>>>> at javax.swing.JSpinner.setValue(JSpinner.java:330)
>>>>> at
>>>>>
>>>>> com.sun.jwt.resources.editor.editors.CreateBitmapFont.
>>>>> (CreateBitmapFont.java:88)
>>>>> at
>>>>>
>>>>> com.sun.jwt.resources.editor.editors.FontEditor
>>>>> $EditFontAction.exectute(FontEditor.java:136)
>>>>> at
>>>>> com.sun.jwt.resource.util.BlockingAction.run
>>>>> (BlockingAction.java:80)
>>>>> at java.lang.Thread.run(Thread.java:619)
>>>>> Jun 26, 2008 1:04:16 PM java.util.prefs.FileSystemPreferences
>>>>> syncWorld
>>>>> WARNING: Couldn't flush system prefs:
>>>>> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com
>>>>> create
>>>>> failed.
>>>>> Jun 26, 2008 1:04:46 PM java.util.prefs.FileSystemPreferences
>>>>> syncWorld
>>>>> WARNING: Couldn't flush system prefs:
>>>>> java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com
>>>>> create
>>>>> failed.
>>>>> [Message sent by forum member 'francisdb' (francisdb)]
>>>>>
>>>>> http://forums.java.net/jive/thread.jspa?messageID=282767
>>>>>
>>>>> ------------------------------------------------------------------
>>>>> ---
>>>>> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
>>>>> For additional commands, e-mail: users-help@lwuit.dev.java.net
>>>>>
>>>>
>>>>
>>>> -------------------------------------------------------------------
>>>> --
>>>> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
>>>> For additional commands, e-mail: users-help@lwuit.dev.java.net
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> http://www.somatik.be
>>> Microsoft gives you windows, Linux gives you the whole house.
>>>
>>> --------------------------------------------------------------------
>>> -
>>> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
>>> For additional commands, e-mail: users-help@lwuit.dev.java.net
>>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
>> For additional commands, e-mail: users-help@lwuit.dev.java.net
>>
>
>
>
> --
> http://www.somatik.be
> Microsoft gives you windows, Linux gives you the whole house.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
> For additional commands, e-mail: users-help@lwuit.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
For additional commands, e-mail: users-help@lwuit.dev.java.net