This file contains 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 org.almibe.codeeditor; | |
import javafx.application.Application; | |
import javafx.concurrent.Worker; | |
import javafx.scene.Scene; | |
import javafx.scene.control.SplitPane; | |
import javafx.scene.web.WebView; | |
import javafx.stage.Stage; | |
import netscape.javascript.JSObject; |
This file contains 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 org.example; | |
import io.vertx.core.http.HttpMethod; | |
import io.vertx.ext.web.Route; | |
import io.vertx.ext.web.Router; | |
import org.example.HttpApp; | |
import java.util.HashMap; | |
import java.util.Map; |
This file contains 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
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this | |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
package org.libraryweasel.commons.resource; | |
import javafx.scene.control.Alert; | |
import javafx.scene.control.ButtonBar; | |
import javafx.scene.control.ButtonType; | |
import javafx.scene.control.TextInputDialog; |
This file contains 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
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this | |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
package org.libraryweasel.commons.controls; | |
import javafx.scene.control.TextField; | |
public class NumericTextField extends TextField { | |
@Override public void replaceText(int start, int end, String text) { |
This file contains 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
/* | |
Error produced: | |
Nov 23, 2015 6:05:36 PM io.netty.util.ThreadDeathWatcher$Watcher notifyWatchees | |
WARNING: Thread death watcher task raised an exception: | |
java.lang.NoClassDefFoundError: io/netty/util/Recycler$WeakOrderQueue | |
*/ | |
private void stop() { //called by OSGi container | |
stopServer(); | |
} |
This file contains 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 org.almibe.multipage.demo; | |
import javafx.application.Application; | |
import javafx.scene.Node; | |
import javafx.scene.Scene; | |
import javafx.scene.input.MouseEvent; | |
import javafx.scene.layout.HBox; | |
import javafx.scene.paint.Color; | |
import javafx.scene.shape.Rectangle; | |
import javafx.stage.Stage; |
This file contains 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
//Simple script that outputs all the package names that contain classes from a list of | |
//jar files | |
import java.util.zip.* | |
def baseDir = "/home/alex/IdeaProjects/library-weasel/build/library-weasel/lib/" | |
def jarList = ["orientdb-core-2.1.15", "blueprints-core-2.6.0", "orientdb-graphdb-2.1.15"] | |
Set<String> packageNames = new HashSet<>() | |
jarList.each { |
This file contains 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.animation.*; | |
import javafx.application.Application; | |
import javafx.event.*; | |
import javafx.geometry.Pos; | |
import javafx.scene.*; | |
import javafx.scene.control.*; | |
import javafx.scene.layout.*; | |
import javafx.scene.text.Text; | |
import javafx.scene.web.WebView; | |
import javafx.stage.Stage; |
This file contains 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
git rm -r . | |
git checkout HEAD~3 . | |
git commit |
This file contains 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 scratchpad.jgroups | |
import org.jgroups.* | |
import java.io.Serializable | |
fun createWithReceiver(receiver: Receiver): JChannel { | |
val ch = JChannel() | |
ch.receiver = receiver |
OlderNewer