Top.Mail.Ru
February 14th, 2004 - Java developers — LiveJournal
? ?

Java developers

February 14th, 2004

11:58 am - t3knomanser - Horizontal Windowshading...

I'm writing an app that should windowshade horizontally when the user clicks a button (ie. it should collapse back so only the button shows, and then when clicked again, it should expand back to full size). When I click the button though, nothing happens. I threw some debug output in, and it's handling the click and calling the functions it's supposed to; apparently my method for collapsing the windows is flawed somehow.

the codeCollapse )

Is there some superior way of rolling up a window?
This is for a cute little app to provide functionality like KDE's panels.

03:10 pm - timwi - Frame size

Hi.

I guess I wasn't very clear in my previous entry.

What I meant was this: I want the client area (the bit that I can actually draw on) to be (for example) 400 by 400 pixels in size.

Alternatively, I want to find out the size of the title bar and the window border, so I can add them to it.

How do I do this? — Thanks in advance.
Powered by LiveJournal.com