Skip to content

Instantly share code, notes, and snippets.

{
"test": {
"source": "https://foobar.com",
"kind": "cli"
},
"other": {
"source": "https://bargah.com",
"kind": "gui"
}
}
@micthiesen
micthiesen / SimpleTable.java
Last active December 28, 2015 04:39
This is a Widget you can use with GWT to create a truly Bootstrap-styled table. It requires that you are using Bootstrap 2.3.2 (i.e. you have the relevant css and js files). The javadocs explain how to use it. The cells are limited to Strings. Each column can be sorted either forwards or in reverse. Optionally, when creating a row, you can pass …
package com.sneakyxpress.webapp.client;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.Event;
import com.google.gwt.user.client.ui.*;
import java.util.Collections;
import java.util.Comparator;
import java.util.LinkedList;