sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #41734
Re: [Question #511366]: GUI - always on top
Question #511366 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/511366
Status: Open => Solved
Maurice Richard confirmed that the question is solved:
Figured this out.
#genrrates interface for the user
frame = JFrame("Some Title")
frame.setAlwaysOnTop(True)
frame.setLocation(100, 100)
frame.setSize(200, 100)
frame.setLayout(BorderLayout())
label = JLabel('Label text goes here. ')
frame.add(label, BorderLayout.NORTH)
button = JButton('Button Text Here',actionPerformed=ProcessClick)
frame.add(button, BorderLayout.SOUTH)
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE)
frame.setVisible(True)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.