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
@echo off | |
rem set JDK_BASE=%PROGRAMFILES%\Java | |
set JDK_BASE=%PROGRAMFILES%\Amazon Corretto | |
rem set JDK_BASE=%USERPROFILE%\.sdkman\candidates\java | |
if "%~1" == "" goto list | |
set JDK_TEMP=%JDK_BASE%\jdk%~1 | |
rem set JDK_TEMP=%JDK_BASE%\%~1 |
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
#!/bin/sh | |
cygwin=false; | |
case "`uname`" in | |
CYGWIN*) cygwin=true; | |
esac | |
#sudo tar zxvf jdk-7u40-linux-x64.tar.gz -C /usr/lib/jvm | |
JDK_BASE=/usr/lib/jvm | |
if $cygwin; then |
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
// ==UserScript== | |
// @name <pre> to <textarea> | |
// @namespace http://ateraimemo.com/ | |
// @include http://* | |
// @include https://* | |
// @exclude http://*.google.* | |
// @exclude https://*.google.* | |
// @grant none | |
// @description pre <-> textarea | |
// @version 1.0.11 |
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
// ==UserScript== | |
// @name <table> to CSV | |
// @namespace https://ateraimemo.com/ | |
// @include /^https?://.* | |
// @description Html table -> CSV(textarea) | |
// @grant none | |
// @version 1.0.7 | |
// ==/UserScript== | |
//- [JavaScriptでHtmlのtable要素をCSVに変換する](//ateraimemo.com/JavaScript/table2csv.html) | |
(function() { |
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 java.awt.*; | |
import java.awt.event.*; | |
import java.beans.PropertyChangeEvent; | |
import javax.swing.*; | |
import javax.swing.plaf.LayerUI; | |
class DragScrollLayerTest { | |
public JComponent makeUI() { | |
JTabbedPane tab1 = new JTabbedPane(); | |
tab1.addTab("aaa", new JLabel("11111111111")); |
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
include Java | |
java_import javax.swing.JLabel | |
java_import javax.swing.WindowConstants | |
def create_and_show_GUI | |
frame = javax.swing.JFrame.new "Title" | |
frame.default_close_operation = WindowConstants::EXIT_ON_CLOSE | |
frame.content_pane.add JLabel.new "Test" | |
frame.set_size(320, 240) | |
frame.location_relative_to = nil |
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
include Java | |
java_import javax.swing.JScrollPane | |
java_import javax.swing.JTree | |
java_import javax.swing.UIManager | |
java_import javax.swing.WindowConstants | |
def create_and_show_GUI | |
# try{ | |
# UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); | |
# }catch(Exception e) { e.printStackTrace(); } |
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
include Java | |
java_import java.awt.Dimension | |
java_import javax.swing.JPanel | |
java_import javax.swing.JTextField | |
class MainPanel < JPanel | |
def initialize | |
super | |
field = JTextField.new 32 | |
self.add field |
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
# -*- encoding: utf-8 -*- | |
include Java | |
java_import java.awt.event.MouseListener | |
java_import java.awt.Dimension | |
java_import javax.swing.JPanel | |
java_import javax.swing.JButton | |
java_import javax.swing.JTextField | |
class MainPanel < JPanel |
OlderNewer