B4J Library jCustomWindow

Hi,

I am very happy to share the first version of my jCustomWindow Library with you guys. jCustomWindow allows you to customize completely the window container of your application and have a consistent style cross-platform.

This is a list of what you can do:
  • Customize the title's text and style.
  • Set a custom icon.
  • Add an infinite number of buttons
  • Set custom images for each button
  • Set a pre-built action (Exit, full screen, maximize, minimize) for each button or call your own events.
  • Get notified for each pre-built actions.
  • Full screen mode, with no title bar.
  • Set the window resizable or not.
  • Set a custom style and width for the window's borders.
  • Animations when maximizing.
  • Adjustable animation speed.
  • Uniform style, cross-platform.
  • Window is resizable (now only at right and bottom corners).
  • Maximizing will maximize on the active screen in the case of multi-monitor setup.
Note:
  • You should initialize the jCustomWindow BEFORE calling the Form.Show (as in the example)
  • You should set the formStyle of your form to "UNDECORATED" (as in the example)
  • You need to copy the jCustomWindow.fxml to your files folder.

Some images:



Additional info:

Enjoy.

Change Log:
 

Attachments

  • jCustomWindow_Example.zip
    27.1 KB · Views: 1,168
  • jCustomWindow_Source.zip
    31.1 KB · Views: 971
  • jCustomWindow.zip
    10.5 KB · Views: 766
Last edited:

Alberto Iglesias

Well-Known Member
Licensed User
Longtime User


Hello JMON, is possible to create some windows like this?

 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…