Sub Letter_B_MouseReleased (EventData As MouseEvent)
bmpbackground = fx.LoadImage(File.DirAssets, "B.png")
Letter_B.DrawImage(bmpbackground, 0, 0, Letter_B.Width, Letter_B.Height)
'transfer the character to the text field manually
Dim tf As TextField = frm.RootPane.getNode(0)
tf.Text = tf.Text & "b"
tf.RequestFocus
tf.SetSelection(tf.Text.Length, tf.Text.Length)
End Sub