B4J Question Modern and custom window shape

Mike1970

Well-Known Member
Licensed User
Longtime User
Hi everyone, i wish to build a desktop app but with some modern vibes in it.
So I imagined it without the ugly windows default window, but more like macos apps.

Is it possibile to create an app that has this type of GUI using B4J?
no borders, round corners, functioning buttons (close, minimize, fullscreen), draggable, scalable.
1663249139567.png


Thanks in advance
 

stevel05

Expert
Licensed User
Longtime User
You can create a Form with an UNDECORATED style, but you won't be able to drag it unless you implement it your self. I did experiment with something similar as I wanted to control the titlebar colour and came up with the Replacement Titlebar library.

Have a look at that and see if you can tailor it to do what you want.
 
Upvote 0

BillMeyer

Well-Known Member
Licensed User
Longtime User
I have done it - but the coding was all manual and it's a lot of work to get it like this and function correctly

1663313952479.png


When you click on the clock - it moves out of the way and you have login details exposed.

Unfortunately this code is proprietary and I'd need to create a new small project if anyone wants the code and time is a bit limited at the moment...
 
Upvote 0

BillMeyer

Well-Known Member
Licensed User
Longtime User
This looks beautiful. I trust the video tutorial helped.
Didn't use it - only saw it now in this post - that I did out of my head and used a few different libraries to achieve this.

Powerpoint, remove.bg and a few of @Alexander Stolte libraries are my friends...
 
Upvote 0
Top