Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prod3v3loper/java-desktop-website-app
🖥️ Desktop Application with Login and Dashboard
https://github.com/prod3v3loper/java-desktop-website-app
boot dashboard desktop-application gui java jdbc kotlin login maven mysql netbeans netbeans-project spring spring-boot swing website
Last synced: about 1 month ago
JSON representation
🖥️ Desktop Application with Login and Dashboard
- Host: GitHub
- URL: https://github.com/prod3v3loper/java-desktop-website-app
- Owner: prod3v3loper
- License: mit
- Created: 2024-05-20T20:04:04.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-06-12T07:31:37.000Z (8 months ago)
- Last Synced: 2024-06-12T12:42:18.662Z (8 months ago)
- Topics: boot, dashboard, desktop-application, gui, java, jdbc, kotlin, login, maven, mysql, netbeans, netbeans-project, spring, spring-boot, swing, website
- Language: Java
- Homepage: https://www.prod3v3loper.com
- Size: 50.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# JAVA DESKTOP APPLICATION
![APP](https://raw.githubusercontent.com/prod3v3loper/java-desktop-website-app/main/src/main/resources/images/p3-app.PNG?token=GHSAT0AAAAAACSRTP633NYHX44TT5I32DZ2ZSMJNPQ "Application")
A simple application that allows you to log in via the database and get to the dashboard. The data can be accessed from your website database but also from elsewhere.
Download it and open it with NetBeans, then just click Run and it will open. You can develop it further and add whatever your application needs.
```
LoginApp/
├── nbproject/
│ ├── private/
│ ├── ...
├── src/
│ ├── main/
│ │ ├── java/
│ │ │ └── com/
│ │ │ └── prod3v3loper/
│ │ │ └── loginapp/
│ │ │ ├── LoginForm.java
│ │ │ ├── DashboardFrame.java
│ │ │ └── DatabaseConnection.java
│ │ ├── resources/
│ │ ├── images/
│ │ │ └── p3.png
│ │ └── application.properties
├── target/
│ ├── ...
├── .gitignore
├── pom.xml
└── README.md
```## DATABASE
Change your database, if you already have a local environment (developer environment) then you can directly use localhost and work and develop with it.
```java
private static final String URL = "jdbc:mysql://localhost:6606/databasename";
private static final String USER = "root";
private static final String PASSWORD = "test";
```# JAR to EXE
Use https://launch4j.sourceforge.net/ to create exe file.
# Alternative
This project was created with https://netbeans.apache.org/.
But you can use https://start.spring.io/ to create your startup project if you want.
# Attention
This one should not use in a real environment but unfortunately there is also something in real environments.
# UPDATE
Migrating **Spring Boot** and **Kotlin** example.
`pom.xml`
```
4.0.0
com.prod3v3loper
LoginApp
1.0-SNAPSHOT
jar
11
1.5.21
2.5.4
org.springframework.boot
spring-boot-starter-web
org.springframework.boot
spring-boot-starter-data-jpa
mysql
mysql-connector-java
runtime
org.jetbrains.kotlin
kotlin-stdlib
org.jetbrains.kotlin
kotlin-reflect
com.fasterxml.jackson.module
jackson-module-kotlin
org.springframework.boot
spring-boot-starter-test
test
org.springframework.boot
spring-boot-maven-plugin
org.jetbrains.kotlin
kotlin-maven-plugin
${kotlin.version}
compile
compile
test-compile
test-compile
```
`src/main/kotlin/Application.kt`
```java
package com.prod3v3loper.loginappimport org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication@SpringBootApplication
class Applicationfun main(args: Array) {
runApplication(*args)
}
````src/main/resources/application.properties`
```java
spring.datasource.url=jdbc:mysql://localhost:6606/databasename
spring.datasource.username=root
spring.datasource.password=password
spring.jpa.hibernate.ddl-auto=update
````src/main/kotlin/com/prod3v3loper/loginapp/HelloController.kt`
```java
package com.prod3v3loper.loginappimport org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RestController@RestController
class HelloController {@GetMapping("/")
fun hello(): String {
return "Hello, Spring Boot with Kotlin!"
}
}
```# ISSUE
Please use the issue tab to request a:
* Bug
* FeatureChoose template and report a bug or feature you want [issues](https://github.com/prod3v3loper/java-desktop-website-app/issues).
# CONTRIBUTE
Please read the [contributing](https://github.com/prod3v3loper/java-desktop-website-app/blob/main/.github/CONTRIBUTING.md) to contribute.
# VULNERABILITY
Please use the Security section for privately reporting a [vulnerability](https://github.com/prod3v3loper/java-desktop-website-app/blob/main/.github/SECURITY.md).
# Authors
**[prod3v3loper](https://www.prod3v3loper.com)** - _All works_
# License
[MIT](https://github.com/prod3v3loper/java-desktop-website-app/blob/main/LICENSE)