2021-08-22

This commit is contained in:
2021-08-22 17:27:23 +09:00
parent fc3b0e5de8
commit 00b8ccc689
12 changed files with 63 additions and 37 deletions

6
README.md Normal file
View File

@@ -0,0 +1,6 @@
# JavaFX Examples
------
developed by Elex
https://www.elex-project.com/

View File

@@ -1,3 +1,10 @@
/*
* JavaFx Examples
*
* Copyright (c) 2021. Elex. All Rights Reserved.
* https://www.elex-project.com/
*/
buildscript { buildscript {
repositories { repositories {
maven { maven {

View File

@@ -1,3 +1,10 @@
/*
* JavaFx Examples
*
* Copyright (c) 2021. Elex. All Rights Reserved.
* https://www.elex-project.com/
*/
plugins{ plugins{
`kotlin-dsl` `kotlin-dsl`
} }

View File

@@ -1,4 +1,3 @@
plugins { plugins {
id("elex-base") id("elex-base")
application application

View File

@@ -1,5 +1,3 @@
import gradle.kotlin.dsl.accessors._496219b122f87f8abbd64d1094d3f5b6.jar
plugins { plugins {
id ("elex-base") id ("elex-base")
`java-library` `java-library`

View File

@@ -1,3 +1,10 @@
/*
* JavaFx Examples
*
* Copyright (c) 2021. Elex. All Rights Reserved.
* https://www.elex-project.com/
*/
plugins { plugins {
id("elex-application") id("elex-application")
id("org.openjfx.javafxplugin") version "0.0.10" id("org.openjfx.javafxplugin") version "0.0.10"

View File

@@ -1,3 +1,10 @@
/*
* JavaFx Examples
*
* Copyright (c) 2021. Elex. All Rights Reserved.
* https://www.elex-project.com/
*/
package kr.pe.elex.examples.fxml; package kr.pe.elex.examples.fxml;
import javafx.application.Application; import javafx.application.Application;

View File

@@ -3,6 +3,13 @@
<?import javafx.scene.control.*?> <?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?> <?import javafx.scene.layout.*?>
<!--
~ JavaFx Examples
~
~ Copyright (c) 2021. Elex. All Rights Reserved.
~ https://www.elex-project.com/
-->
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/11.0.2" xmlns:fx="http://javafx.com/fxml/1"> <BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/11.0.2" xmlns:fx="http://javafx.com/fxml/1">
<center> <center>
<Button mnemonicParsing="false" text="Button" BorderPane.alignment="CENTER" /> <Button mnemonicParsing="false" text="Button" BorderPane.alignment="CENTER" />

View File

@@ -1,3 +1,10 @@
#
# JavaFx Examples
#
# Copyright (c) 2021. Elex. All Rights Reserved.
# https://www.elex-project.com/
#
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-all.zip

16
gradlew vendored
View File

@@ -1,21 +1,5 @@
#!/usr/bin/env sh #!/usr/bin/env sh
#
# Copyright 2015 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
############################################################################## ##############################################################################
## ##
## Gradle start up script for UN*X ## Gradle start up script for UN*X

View File

@@ -1,28 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!--
~ JavaFx Examples
~
~ Copyright (c) 2021. Elex. All Rights Reserved.
~ https://www.elex-project.com/
-->
<configuration> <configuration>
<property name="LOG_FILE" value="LogFile" />
<property name="LOG_DIR" value="/var/log/application" />
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder> <encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern> <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder> </encoder>
</appender> </appender>
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${LOG_DIR}/${LOG_FILE}.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- daily rollover -->
<fileNamePattern>${LOG_DIR}/%d{yyyy/MM}/${LOG_FILE}.gz</fileNamePattern>
<!-- keep 30 days' worth of history capped at 3GB total size -->
<maxHistory>30</maxHistory>
<totalSizeCap>3GB</totalSizeCap>
</rollingPolicy>
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>
<root level="TRACE"> <root level="TRACE">
<appender-ref ref="CONSOLE" /> <appender-ref ref="CONSOLE" />
</root> </root>

View File

@@ -1,2 +1,9 @@
/*
* JavaFx Examples
*
* Copyright (c) 2021. Elex. All Rights Reserved.
* https://www.elex-project.com/
*/
rootProject.name = "javafx-examples" rootProject.name = "javafx-examples"
include("fxml") include("fxml")