Click here to Skip to main content
15,888,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone, for a project I'm using TabTip.exe virtual keyboard in Swing. And I open Tabtip with a button.
When TabTip is opened, my frame is set on top. Because I want to see the whole project's screen when it opened. But after closing TabTip, the application doesn't resize itself. How can I control if TabTip is on or off? Or are there any better ways to resize the screen if TabTip is closed?

I tried to use ComponentListener for it but doesn't work for me.

What I have tried:

frame.addComponentListener(new ComponentListener() {
@Override
public void componentResized(ComponentEvent e) {
/////////////
}
}
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900