Power beep
-
I have just found this piece of code in a "Common" class (original comments preserved)...
public static boolean openConfirmDeleteDialog() {
// a very fast double beep sound :) which is rather an intensified single one :)
Display.getCurrent().beep();
Display.getCurrent().beep();
return Common.openQuestionDialog(ViewsMessages.H_CONFIRM, "Are you sure that you want to delete this record?");
}Greetings - Jacek
-
I have just found this piece of code in a "Common" class (original comments preserved)...
public static boolean openConfirmDeleteDialog() {
// a very fast double beep sound :) which is rather an intensified single one :)
Display.getCurrent().beep();
Display.getCurrent().beep();
return Common.openQuestionDialog(ViewsMessages.H_CONFIRM, "Are you sure that you want to delete this record?");
}Greetings - Jacek
Hey, wrong forum, you wanted to put this in Clever Code! Or maybe a tips/tricks entry? :laugh:
'As programmers go, I'm fairly social. Which still means I'm a borderline sociopath by normal standards.' Jeff Atwood
-
Hey, wrong forum, you wanted to put this in Clever Code! Or maybe a tips/tricks entry? :laugh:
'As programmers go, I'm fairly social. Which still means I'm a borderline sociopath by normal standards.' Jeff Atwood
-
I have just found this piece of code in a "Common" class (original comments preserved)...
public static boolean openConfirmDeleteDialog() {
// a very fast double beep sound :) which is rather an intensified single one :)
Display.getCurrent().beep();
Display.getCurrent().beep();
return Common.openQuestionDialog(ViewsMessages.H_CONFIRM, "Are you sure that you want to delete this record?");
}Greetings - Jacek
That's just genius! :laugh:
It's an OO world.
public class Naerling : Lazy<Person>{}
-
I have just found this piece of code in a "Common" class (original comments preserved)...
public static boolean openConfirmDeleteDialog() {
// a very fast double beep sound :) which is rather an intensified single one :)
Display.getCurrent().beep();
Display.getCurrent().beep();
return Common.openQuestionDialog(ViewsMessages.H_CONFIRM, "Are you sure that you want to delete this record?");
}Greetings - Jacek
This could be a good tip.... Clever code....
I quit being afraid when my first venture failed and the sky didn't fall down.