This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Make Gradle treat a folder as a submodule if it contains a ``build.gradle`` | |
rootDir.eachDir { folder -> | |
def buildFile = new File(folder, "build.gradle") | |
if (buildFile.exists()){ | |
include folder.getName() | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Downloading http://services.gradle.org/distributions/gradle-1.0-bin.zip | |
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
subprojects { | |
... | |
repositories { | |
maven { | |
url 'https://github.com/anathema/anathema-thirdparty/raw/master/snapshots/' | |
} | |
maven { | |
url 'https://github.com/anathema/anathema-thirdparty/raw/master/releases/' | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.sun.javafx.collections.ObservableListWrapper; | |
import javafx.application.Application; | |
import javafx.beans.property.SimpleIntegerProperty; | |
import javafx.scene.Scene; | |
import javafx.scene.control.TableCell; | |
import javafx.scene.control.TableColumn; | |
import javafx.scene.control.TableRow; | |
import javafx.scene.control.TableView; | |
import javafx.scene.layout.FlowPane; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javafx.application.Application; | |
import javafx.collections.ListChangeListener; | |
import javafx.scene.Scene; | |
import javafx.scene.control.TableColumn; | |
import javafx.scene.control.TableView; | |
import javafx.stage.Stage; | |
public class TableTest extends Application { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.apache.commons.io.IOUtils; | |
import java.awt.Desktop; | |
import java.io.File; | |
import java.io.IOException; | |
public class DesktopSupport { | |
public static void open(File file) { | |
try { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.swing.JComponent; | |
import javax.swing.JFrame; | |
import javax.swing.JPanel; | |
import java.awt.Dimension; | |
import java.awt.Font; | |
import java.awt.Graphics; | |
import java.awt.Graphics2D; | |
import java.awt.font.TextLayout; | |
import static java.awt.Color.black; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package de.idos.operatingreserve.internal.client.interaction; | |
import com.google.common.collect.ImmutableList; | |
import com.google.common.collect.Lists; | |
import org.junit.Test; | |
import java.lang.reflect.InvocationHandler; | |
import java.lang.reflect.Method; | |
import java.lang.reflect.Proxy; | |
import java.util.List; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<style type="text/css"> | |
.table { | |
display: table; | |
} | |
.header { | |
display: table-row; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.junit.Test; | |
import java.io.*; | |
public class Serialization_Test { | |
@Test | |
public void isSerializable() throws Exception { | |
Object object = new Object(); | |
assertIsSerializable(object); |
NewerOlder