tutorials for developers using Android, Google Web Toolkit (GWT), Arduino, and much more...
Wednesday, October 22, 2008
Java final keyword
Thursday, October 16, 2008
GWT: Override StackPanel onBroswerEvent()
An inner class is a customized class that is used inside a java class. The main purpose of inner class is to use a generic method that may be problematic to use in the actual class. This is a useful concept when using when using onBrowserEvent(Event event) method for instance in google web toolkit because I could not initialize an event in the original java class. Below are the step t implement this:
- Create a private inner class StackPanelNav that extends the container/super class StackPanel:
Friday, October 10, 2008
GWT: Auto-saving a TextArea
private class TextAreaAutoSave extends TextArea{public TextAreaAutoSave(){super();}@Overrideprotected void onDetach(){if (saveButton != null)saveButton.click();}}
Tuesday, October 7, 2008
HTML: adding bullets
Circles:
- First element
- Second element
- Third element
If you need square shaped bullets, insert below code:
- First element
- Second element
- Third element
Source: http://www.w3schools.com/TAGS/tag_textarea.asp
