[josm-dev] ExtendedDialog: enable/disable OK and Cancel button

2010-05-02 Thread Lambertus
While creating an instace of org.openstreetmap.josm.gui.ExtendedDialog you can add default buttons like OK and Cancel. Once the buttons are created I would like to disable/enable these buttons based upon some input field checks but I have no idea how to locate the appropriate button object.

Re: [josm-dev] ExtendedDialog: enable/disable OK and Cancel button

2010-05-02 Thread Sebastian Klein
Lambertus wrote: While creating an instace of org.openstreetmap.josm.gui.ExtendedDialog you can add default buttons like OK and Cancel. Once the buttons are created I would like to disable/enable these buttons based upon some input field checks but I have no idea how to locate the

Re: [josm-dev] ExtendedDialog: enable/disable OK and Cancel button

2010-05-02 Thread Lambertus
On 05/02/2010 04:02 PM, Sebastian Klein wrote: The button is inside another panel, so you might want to try recursion. As a start, here is an example from TaggingPreset.java, l. 736: static void setEnabledRec(Container root, boolean enabled) { root.setEnabled(enabled);

Re: [josm-dev] Can't get Yahoo imagery to show up in JOSM (works now)

2010-05-02 Thread Ramey
Sorry about that, I've got it working now. It was poor trouble- shooting on my part to try a couple (half-assed) things, throw up my hands, and holler for help. The problem was the OS couldn't find webkit-image (the prebuilt binary). (I had assumed that it wasn't working because of

Re: [josm-dev] Can't get Yahoo imagery to show up in JOSM (works now)

2010-05-02 Thread jamesmikedup...@googlemail.com
I have prepared debian/ubuntu packages and source to build yourself if you need it. The ITP bug report is here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=569040 The git repo is here : http://github.com/h4ck3rm1k3/webkitimageqt here is the debian package