This looks like a Java SE bug to me :( You could try to get
draw9patch's source code and change the look and feel to the cross
platform look and feel and see if it works.

On Mon, Nov 3, 2008 at 7:36 AM, Ludwig <[EMAIL PROTECTED]> wrote:
> Can someone just confirm that in principle the utility draw9patch runs on
> Windows (Vista 32bit)?
> I can start it with draw9patch.bat, but I cannot open or write files with
> the FileChooser (which triggers an exception, as below).
> Dragging a file onto the application after start works, but then I cannot
> save it.
> Is this just my configuration somehow?
> Ludwig
>
> I just get:
> C:\Software\android\tools\draw9patch.bat
> Exception in thread "AWT-EventQueue-0"
> java.lang.ArrayIndexOutOfBoundsException:
>  3184
>         at
> sun.awt.shell.Win32ShellFolder2.getFileChooserIcon(Win32ShellFolder2.
> java:748)
>         at
> sun.awt.shell.Win32ShellFolderManager2.get(Win32ShellFolderManager2.j
> ava:248)
>         at sun.awt.shell.ShellFolder.get(ShellFolder.java:221)
>         at
> com.sun.java.swing.plaf.windows.WindowsLookAndFeel$LazyWindowsIcon.cr
> eateValue(WindowsLookAndFeel.java:1873)
>         at javax.swing.UIDefaults.getFromHashtable(UIDefaults.java:185)
>         at javax.swing.UIDefaults.get(UIDefaults.java:130)
>         at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:44)
>         at javax.swing.UIDefaults.getIcon(UIDefaults.java:411)
>         at javax.swing.UIManager.getIcon(UIManager.java:613)
>         at
> javax.swing.plaf.basic.BasicFileChooserUI.installIcons(BasicFileChoos
> erUI.java:237)
>         at
> javax.swing.plaf.basic.BasicFileChooserUI.installDefaults(BasicFileCh
> ooserUI.java:219)
>         at
> javax.swing.plaf.basic.BasicFileChooserUI.installUI(BasicFileChooserU
> I.java:135)
>         at
> com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installUI(Window
> sFileChooserUI.java:126)
> >
>



-- 
Romain Guy
www.curious-creature.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to