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.
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
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);
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
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