Posts

Showing posts from July, 2019

Registration Form Example Using JavaFX

Image
This is a simplest form for JavaFX registration layout, you can modify it whatever based on your need. import javafx.application.Application; import javafx.geometry.Insets; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.control.Label; import javafx.scene.control.PasswordField; import javafx.scene.control.TextField; import javafx.scene.layout.StackPane; import javafx.scene.layout.VBox; import javafx.stage.Stage; public class App extends Application { private StackPane root = new StackPane(); private Stage stage; @Override public void init() { Button button = new Button("OPEN"); VBox vBox = new VBox(); vBox.setSpacing(8); vBox.setPadding(new Insets(10,10,10,10)); vBox.getChildren().addAll( new Label("Your Name"), new TextField(), new Label("Your Username"), new TextField(), new Label

JavaFX Login Example Codes

Image
This is example of a login form created using JavaFX import javafx.application.Application; import javafx.geometry.Insets; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.control.Label; import javafx.scene.control.PasswordField; import javafx.scene.control.TextField; import javafx.scene.layout.StackPane; import javafx.scene.layout.VBox; import javafx.stage.Stage; public class App extends Application { private StackPane root = new StackPane(); private Stage stage; @Override public void init() { Button button = new Button("OPEN"); VBox vBox = new VBox(); vBox.setSpacing(8); vBox.setPadding(new Insets(10,10,10,10)); vBox.getChildren().addAll( new Label("Your Username"), new TextField(), new Label("Your Password"), new PasswordField(), new Button("LOGIN")); root.getCh

Windows 10 Connect

Image
Window 10 Connect is a windows program to help you work with other device, usually smartphone, so you can do like for example transferring file, etc. To open Windows connect, you can do it by pressing window key, then type "Connect" to find the program, the other way is to click on Open center located on bottom right of your screen, after it's opened, at the bottom tiles, you click the connect tile. Now your computer is ready for you to connect wirelessly.

JavaFX Load Local HTML File Using WebView

Image
JavaFX is platform to create GUI for desktop application in Java, it has more modern and performance than any other framework for desktop application development. It also support template using FXML and styling using CSS. You can load an HTML file into JavaFX application using WebView, either it's available online, internet connection required or a local HTML resource, support CSS and Javascript. To load an HTML we can use WebView for example: 1. First create an html and put it on /src/main/resources/helloWorld.html <html lang="en"> <head><title>Hello World</title></head> <body><h1>Hello world!</h1></body> </html> 2. Now for just demo, create a class name HelloWorldApplication.java that contains main method. import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.web.WebEngine; import javafx.scene.web.WebView; import javafx.stage.Stage; public class HelloWo

Windows 10 Camera

Image
Windows 10 has a default camera application where you can take a picture or video, but camera in computer or laptop sometimes is just useless, i mean who want to take a picture sitting in a desk? But in any way it's a good addition to the OS, The new camera program in Windows 10 has lots of settings or configuration, here's a short description of the configuration: - Pro mode, shows advanced controls for photo and video - Framing grade has 4 options, they are rules of third, golden ratio, cross hair and square - Photo quality, you can specify which quality the camera will render, but it depends on your camera hardware, mine is really sucks, the maximum is 640x480 - Flicker reduction, basically to set frame-rates, the bigger the better You can also change the location where the camera will save your photo, you can enable or disable whether the photo will contains your coordinate location based on GPS, change some privacy settings, etc.

Windows 10 Calendar Where You Can Manage Your Events

Image
As I've already said in the previous post, Windows 10 has so many upgrade, from performance to adding more program, or just upgrade their previous program to be more modern, easy to use and more rich feature. One of the new cool addition to Windows 10 is Windows Calendar, with this program you can't just view full year calendar, you can also add an event you wanna do today or the day before. You can also add an upcoming event, it's kind of reminder so you won't forget or miss an important future event you have. To add an event just double click on the date of your even, then fill up the event name. You can also set event location and set the time when the reminder will on, either the time of the event, 15 minutes before the event, or whenever you want the even to be on. You can also sync your calendar event to your Microsoft account, so you will receive the reminder to your associated email. Calendar is really useful program shipped in Windows 10 by default, yo

Windows Alarm & Clock

Image
Windows 10 is really amazing computer Operating System (OS). It has lots of major upgrade from the previous previous which is Windows 7 and 8. From the new cool user interfaces, adding lot of new features and performance enhancement. Windows 100 added new program Alarm & Clock, it is new program really useful for you working with alarms and clock. As you can see on the picture on alarms and clock program, you can add some cities and know what their time is currently at, and you can also see that the map has dark and light, dark indicate that the place is currently in day night and and light means day light. If you have friends or someone overseas, this map can be helpful for you. You can also set an alarm to get you up in the morning or whatever time you want to set, the alarm doesn't care if your computer is sleep, as long as it's has enough power or not in low battery condition, it will on automatically in time. Timer and stopwatch maybe not that big deal, but st

3D Viewer in Windows 10 For 3D Printing

Image
Windows 10 has so many great things shipped by default, the one i am gonna talk about is the 3D Viewer. It is a program you can use for inspect 3D model's mesh, texture, material,animation data, and view 3D files in different shading model. You can also use this program to work with camera, so you can mix real pictures taken by your camera and the 3D file you can load. It support both for taking pictures only or with video recording. The result will be mixed of your real images and the 3D model. You can even change the 3D model theme for example color, size, and texture, and move you can move the 3D model position. Before you start taking a picture or record a video you want your 3D model to be perfectly looks and positioned, you can do that, there are lots of option you can do with this 3D Viewer program. It also support for 3D printing, although I've never done that because i don't have 3D printing, you can do that by click menu File and Print 3D.

Netflix The Best Digital TV

Image
Netflix is probably the most popular and used TV media service, i am not using Netflix because i don't watch TV to often, but people around me are using Netflix, so it's popular and loved by many people. You can watch thousands of TV program on Netflix, probably every shows that ever exists and or currently airing are available you can watch on Netflix. Over all Netflix is one of the best on media industry, providing the best service where we can watch show whatever we want. It has lot of programs let's say Movies, TV Shows plus their original programs, Netflix original production, and many many more type of entertainment can be found on Netflix. You can watch Netflix either through computer web browser, mobile app and smart TV. That's probably what makes Netflix popular and used by many people, there are many option you can use Netflix. They are just a TV, so nothing special, but because they kind of have everything it makes them big, but in fact, you can watc

Popular posts from this blog

ERROR 1348 Column Password Is Not Updatable When Updating MySQL Root Password

How To Create Spring Boot Project Using Netbeans

Spring Kafka - How to use ReplyingKafkaTemplate send and reply synchronously