リビジョン 8b72d138
| .gitignore | ||
|---|---|---|
|
### Java
|
||
|
*.class
|
||
|
# NetBeans IDE
|
||
|
build
|
||
|
dist
|
||
|
**/nbproject/private/
|
||
|
# IntelliJ IDEA
|
||
|
out
|
||
|
**/.idea/workspace.xml
|
||
|
**/.idea/tasks.xml
|
||
|
|
||
|
|
||
| learn/kotlin/javafx/MessageBoard/.idea/workspace.xml | ||
|---|---|---|
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<project version="4">
|
||
|
<component name="ChangeListManager">
|
||
|
<list default="true" id="3e769f50-8f2c-4662-862b-fa4a2ea16291" name="デフォルト" comment="" />
|
||
|
<ignored path="$PROJECT_DIR$/out/" />
|
||
|
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
||
|
<option name="TRACKING_ENABLED" value="true" />
|
||
|
<option name="SHOW_DIALOG" value="false" />
|
||
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||
|
<option name="LAST_RESOLUTION" value="IGNORE" />
|
||
|
</component>
|
||
|
<component name="FileEditorManager">
|
||
|
<leaf>
|
||
|
<file leaf-file-name="MessageBoard.kt" pinned="false" current-in-tab="true">
|
||
|
<entry file="file://$PROJECT_DIR$/src/MessageBoard.kt">
|
||
|
<provider selected="true" editor-type-id="text-editor">
|
||
|
<state relative-caret-position="0">
|
||
|
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="1" selection-end-column="1" />
|
||
|
<folding />
|
||
|
</state>
|
||
|
</provider>
|
||
|
</entry>
|
||
|
</file>
|
||
|
</leaf>
|
||
|
</component>
|
||
|
<component name="FileTemplateManagerImpl">
|
||
|
<option name="RECENT_TEMPLATES">
|
||
|
<list>
|
||
|
<option value="Kotlin Class" />
|
||
|
</list>
|
||
|
</option>
|
||
|
</component>
|
||
|
<component name="ProjectFrameBounds">
|
||
|
<option name="x" value="56" />
|
||
|
<option name="y" value="79" />
|
||
|
<option name="width" value="1621" />
|
||
|
<option name="height" value="1279" />
|
||
|
</component>
|
||
|
<component name="ProjectView">
|
||
|
<navigator currentView="ProjectPane" proportions="" version="1">
|
||
|
<flattenPackages />
|
||
|
<showMembers />
|
||
|
<showModules />
|
||
|
<showLibraryContents />
|
||
|
<hideEmptyPackages />
|
||
|
<abbreviatePackageNames />
|
||
|
<autoscrollToSource />
|
||
|
<autoscrollFromSource />
|
||
|
<sortByType />
|
||
|
<manualOrder />
|
||
|
<foldersAlwaysOnTop value="true" />
|
||
|
</navigator>
|
||
|
<panes>
|
||
|
<pane id="PackagesPane" />
|
||
|
<pane id="ProjectPane">
|
||
|
<subPane>
|
||
|
<expand>
|
||
|
<path>
|
||
|
<item name="MessageBoard" type="b2602c69:ProjectViewProjectNode" />
|
||
|
<item name="MessageBoard" type="462c0819:PsiDirectoryNode" />
|
||
|
</path>
|
||
|
</expand>
|
||
|
<select />
|
||
|
</subPane>
|
||
|
</pane>
|
||
|
<pane id="Scratches" />
|
||
|
<pane id="Scope" />
|
||
|
</panes>
|
||
|
</component>
|
||
|
<component name="PropertiesComponent">
|
||
|
<property name="last_opened_file_path" value="$PROJECT_DIR$/../../../../../../IntelliJ/gadget" />
|
||
|
</component>
|
||
|
<component name="RunDashboard">
|
||
|
<option name="ruleStates">
|
||
|
<list>
|
||
|
<RuleState>
|
||
|
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
|
||
|
</RuleState>
|
||
|
<RuleState>
|
||
|
<option name="name" value="StatusDashboardGroupingRule" />
|
||
|
</RuleState>
|
||
|
</list>
|
||
|
</option>
|
||
|
</component>
|
||
|
<component name="RunManager">
|
||
|
<configuration default="true" type="Applet" factoryName="アプレット">
|
||
|
<option name="HTML_USED" value="false" />
|
||
|
<option name="WIDTH" value="400" />
|
||
|
<option name="HEIGHT" value="300" />
|
||
|
<option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
|
||
|
<module />
|
||
|
</configuration>
|
||
|
<configuration default="true" type="Application" factoryName="アプリケーション">
|
||
|
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||
|
<option name="MAIN_CLASS_NAME" />
|
||
|
<option name="VM_PARAMETERS" />
|
||
|
<option name="PROGRAM_PARAMETERS" />
|
||
|
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
|
||
|
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
||
|
<option name="ALTERNATIVE_JRE_PATH" />
|
||
|
<option name="ENABLE_SWING_INSPECTOR" value="false" />
|
||
|
<option name="ENV_VARIABLES" />
|
||
|
<option name="PASS_PARENT_ENVS" value="true" />
|
||
|
<module name="" />
|
||
|
<envs />
|
||
|
</configuration>
|
||
|
<configuration default="true" type="JUnit" factoryName="JUnit">
|
||
|
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||
|
<module name="" />
|
||
|
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
||
|
<option name="ALTERNATIVE_JRE_PATH" />
|
||
|
<option name="PACKAGE_NAME" />
|
||
|
<option name="MAIN_CLASS_NAME" />
|
||
|
<option name="METHOD_NAME" />
|
||
|
<option name="TEST_OBJECT" value="class" />
|
||
|
<option name="VM_PARAMETERS" value="-ea" />
|
||
|
<option name="PARAMETERS" />
|
||
|
<option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
|
||
|
<option name="ENV_VARIABLES" />
|
||
|
<option name="PASS_PARENT_ENVS" value="true" />
|
||
|
<option name="TEST_SEARCH_SCOPE">
|
||
|
<value defaultName="singleModule" />
|
||
|
</option>
|
||
|
<envs />
|
||
|
<patterns />
|
||
|
</configuration>
|
||
|
<configuration default="true" type="Remote" factoryName="リモート">
|
||
|
<option name="USE_SOCKET_TRANSPORT" value="true" />
|
||
|
<option name="SERVER_MODE" value="false" />
|
||
|
<option name="SHMEM_ADDRESS" value="javadebug" />
|
||
|
<option name="HOST" value="localhost" />
|
||
|
<option name="PORT" value="5005" />
|
||
|
</configuration>
|
||
|
<configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="プラグイン">
|
||
|
<module name="" />
|
||
|
<option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
|
||
|
<option name="PROGRAM_PARAMETERS" />
|
||
|
<predefined_log_file id="idea.log" enabled="true" />
|
||
|
</configuration>
|
||
|
<configuration name="<template>" type="TestNG" default="true" selected="false">
|
||
|
<option name="MAIN_CLASS_NAME" />
|
||
|
<option name="VM_PARAMETERS" value="-ea" />
|
||
|
<option name="PARAMETERS" />
|
||
|
<option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
|
||
|
</configuration>
|
||
|
</component>
|
||
|
<component name="ShelveChangesManager" show_recycled="false">
|
||
|
<option name="remove_strategy" value="false" />
|
||
|
</component>
|
||
|
<component name="TaskManager">
|
||
|
<task active="true" id="Default" summary="Default task">
|
||
|
<changelist id="3e769f50-8f2c-4662-862b-fa4a2ea16291" name="デフォルト" comment="" />
|
||
|
<created>1520650323282</created>
|
||
|
<option name="number" value="Default" />
|
||
|
<option name="presentableId" value="Default" />
|
||
|
<updated>1520650323282</updated>
|
||
|
</task>
|
||
|
<servers />
|
||
|
</component>
|
||
|
<component name="ToolWindowManager">
|
||
|
<frame x="56" y="79" width="1621" height="1279" extended-state="0" />
|
||
|
<editor active="true" />
|
||
|
<layout>
|
||
|
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
||
|
<window_info id="Palette	" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||
|
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
||
|
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||
|
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
||
|
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||
|
<window_info id="パレット" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||
|
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24953096" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
||
|
<window_info id="UI デザイナー" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||
|
<window_info id="デザイナー" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||
|
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
||
|
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
||
|
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
||
|
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
||
|
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
||
|
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
||
|
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
||
|
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
||
|
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
||
|
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
||
|
</layout>
|
||
|
</component>
|
||
|
<component name="VcsContentAnnotationSettings">
|
||
|
<option name="myLimit" value="2678400000" />
|
||
|
</component>
|
||
|
<component name="XDebuggerManager">
|
||
|
<breakpoint-manager />
|
||
|
<watches-manager />
|
||
|
</component>
|
||
|
<component name="editorHistoryManager">
|
||
|
<entry file="file://$PROJECT_DIR$/src/MessageBoard.kt">
|
||
|
<provider selected="true" editor-type-id="text-editor">
|
||
|
<state relative-caret-position="0">
|
||
|
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="1" selection-end-column="1" />
|
||
|
<folding />
|
||
|
</state>
|
||
|
</provider>
|
||
|
</entry>
|
||
|
</component>
|
||
|
<component name="masterDetails">
|
||
|
<states>
|
||
|
<state key="ProjectJDKs.UI">
|
||
|
<settings>
|
||
|
<last-edited>9.0</last-edited>
|
||
|
<splitter-proportions>
|
||
|
<option name="proportions">
|
||
|
<list>
|
||
|
<option value="0.2" />
|
||
|
</list>
|
||
|
</option>
|
||
|
</splitter-proportions>
|
||
|
</settings>
|
||
|
</state>
|
||
|
</states>
|
||
|
</component>
|
||
|
</project>
|
||
| learn/kotlin/javafx/MessageBoard/src/MessageBoard.kt | ||
|---|---|---|
|
class MessageBoard {
|
||
|
import javafx.application.Application
|
||
|
import javafx.stage.Stage
|
||
|
|
||
|
class MessageBoard : Application() {
|
||
|
override fun start(primaryStage: Stage?) {
|
||
|
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||
|
}
|
||
|
}
|
||
|
|
||
|
fun main(args: Array<String>) {
|
||
|
Application.launch(MessageBoard::class.java, *args)
|
||
|
}
|
||
コンパイル・実行ができる状態