Initial commit: Kotlin Compose Desktop Hello World

This commit is contained in:
wfz
2026-03-17 17:08:37 +08:00
commit bdae6e213e
9 changed files with 327 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
package com.example.kotlindemo
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.window.Window
import androidx.compose.ui.window.application
fun main() = application {
Window(onCloseRequest = ::exitApplication) {
Text("Hello World - Kotlin Compose Desktop!")
}
}