I have inherited development of a Java/SWT application running on Windows only. One of the feature requests that I need to scope is a Google-chrome-type title bar in place of the SWT windows title bar. The application's tabs appear at the same level as the window control buttons.
My understanding is that I will need to:
I have a lot of experience with Java programming, GUI programming with Swing/AWT, and non-GUI C# programming. Windows GUI programming and SWT are new to me so I'm not sure where to start. The best I have found so far is a 2001 article on writing your own SWT widget.
My biggest unknown is the best way to implement a custom Windows application-window.
You can create a Shell instance without a TITLE flag and then render Google-chrome-like tabs manually. This way you can even create a non-rectangular windows
when dealing with things that are not yet in the JNI layer of SWT, you should always remember that you can quickly prototype things with JNA. When the JNA prototype, then you can either extend SWT's native interface or create your own separate JNI layer (This is an approach that worked well for me a number of times when dealing with SWT Carbon/Cocoa widgets)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With