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
class StringBuilder: | |
""" | |
Works like Java's StringBuilder | |
""" | |
def __init__(self, initial_string=None): | |
if initial_string is not None: | |
self.string = initial_string | |
else: | |
self.string = "" | |
def append(self, string): |
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 com.jfxdev.controls; | |
import javafx.beans.property.SimpleStringProperty; | |
import javafx.collections.FXCollections; | |
import javafx.scene.control.TableColumn; | |
import javafx.scene.control.TableView; | |
import java.io.File; | |
import java.io.IOException; | |
import java.nio.file.Files; |
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
*&---------------------------------------------------------------------* | |
*& Report YMAIL | |
*& | |
*&---------------------------------------------------------------------* | |
*& | |
*& | |
*&---------------------------------------------------------------------* | |
REPORT ymail. |
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 test; | |
import com.dustinredmond.fxtrayicon.FXTrayIcon; | |
import javafx.application.Application; | |
import javafx.scene.Scene; | |
import javafx.scene.control.Button; | |
import javafx.scene.layout.GridPane; | |
import javafx.stage.Stage; | |
public class App extends Application { |
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 com.dustinredmond; | |
import com.sun.tools.attach.AttachNotSupportedException; | |
import com.sun.tools.attach.VirtualMachine; | |
import com.sun.tools.attach.VirtualMachineDescriptor; | |
import java.io.IOException; | |
import java.util.List; | |
public class RunningJavaFXExample { |
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 com.dustinredmond.movemouse; | |
import java.awt.*; | |
/** | |
* Moves mouse one pixel at a time, barely noticeable to the end user, | |
* useful for preventing the PC going to sleep. I had a Linux box that | |
* for some reason would still go to sleep, even with correct settings... | |
* | |
* Pass as an argument the number of seconds between mouse moves (an integer number). |