devxlogo

August 6, 2008

Resize a Form to the Working Area on the Desktop

The code below demonstrates how to resize a form to the working area on the desktop using GetScreenRect. Private Sub frmFullScreen_Load _ (ByVal sender As System.Object, ByVal e As System.EventArgs)

Create a Menu Bar with JavaFX

Here’s a JavaFX example that creates a nice menu bar. All you need is a set of images named: home_1.bmp (unpressed), home_2.bmp (pressed), news_1.bmp, news_2.bmp,contact_1.bmp, contact_2.bmp, photos_1.bmp and photos_2.bmp: import