Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
CssImport when using Component Exporter by Mikhail Shabarov, 1 month ago
get ColorPicker window
Hey,
is there a way to get the Window of the color picker without pressing the colorpicker Button component, something like if i click on a Item in a basic menu something like "set Color" i get the window of the color picker .
I have tryed this but its not working :
config.addItem("Set Color", new Command() {
public void menuSelected(MenuItem selectedItem) {
if (colorPicker.getWindow().getParent() != null) {
viewContent.getWindow().showNotification(
"Window is already open");
} else {
viewContent.getWindow().addWindow(colorPicker.getWindow());
}
}
});
i was hoping for colorpicker.popup() or colorPicker.open() but it looks like there are no such methods ^^
Last updated on Feb, 3rd 2012
You cannot reply to this thread.