Simple examples of JavaFx possibilities
Simple calculator, just to make awesome gui.
- Main
- void start(Stage primaryStage);
- void add(String s);
- String getResult();
- static void main(String[] args);
- Material
- public static final String BUTTON;
- public static final String CTRL;
- public static final String ZERRO;
Popular game remake on Java.
- Bg - enum with color for text and background.
- com.blackwell.GUI - main class, that draw all javafx object.
- static void main(String[] args);
- void start(Stage primaryStage);
- void setUpdateOfMap();
- void setButtonStyle(int i,int j, int FontSize, Bg color);
- GameMap - implementation of interface below.
- Map - interface, to interact with map.
- int FIELD_SIZE = 4;
- String SAVES_FILE = "saves.txt";
- int getCellValue(int x, int y);
- int getScore();
- void moveLeft();
- void moveRight();
- void moveUp();
- void moveDown();
- void moveRandom();
- void saveGame(String bestScore);
- String loadGame();
Simple messenger and server app. You just run ChatServer first and just once. After you can run, as many as, you want ClientWindows. In first window you need to type your name and server ip. It is shows in console, when server starts. After you can simple chat, with you friends, which connected to same server.
Simple app, that contains TextField and button. You Enter user's login and that press button rand. After your next press, it is show you new random tweet,reply or retweet. App got a nice tweet-colored interface.