Old thread, but the closest I found to my situation. I’m on 7.9.6, FWIW.
I was hoping you could elaborate on the JDesktopPane and call Keypad actions to pull up a custom sized keypad. I have pretty much zero experience with Java Swing (or Java for that matter), and I’m a little lost.
What I have so far:
from javax.swing import JDesktopPane
newPane = JDesktopPane()
I feel like I should be doing the Keypad stuff between the setLocation and setVisible lines, but I can’t figure out how to call it.
I’m also not sure that the setVisible line is doing anything, as I’m not getting even an empty window popping up. Might be that it has no contents, so nothing to show.
I’m also a little concerned that you mentioned AlphaNumericKeypadDialog, and not NumericKeypadDialog. I’m guessing the latter is actually the one I need to display a numeric keypad. However, that doesn’t appear to have the setDesktopPane method, as far as I can tell.
My use case for all this is I’m setting up a Raspberry Pi with the touchscreen that’s available for it as a small user station. I’m wanting a keypad for an operator PIN. I’ve gotten the numeric keypad to pop up on the password field properly, but it’s pretty small on the 800x480 screen.