I have a file on my local drive (Windows 2000) with a last modified date/time of Jan 30, 2005 12:09:34 AM.
When I create a File object for that file today, call lastModified() and make a Date object from it, the result is Jan 29, 2005 23:09:34 PM - one hour earlier.
It seems to be making some...
When I delete a large number of files (200+), thereafter the whole system runs incredibly slow. The task bar at the bottom responds normally, but any open window will take upwards of five minutes to respond to a single mouse click. The desktop never gets repainted, so ghosts of apps and...
Does anyone know how I can extract a slide from a powerpoint file on disk and merge it into the currently open powerpoint presentation using vba?
I can do it from the file menu, but cannot find a way to do it in a macro.
I have Powerpoint 97. Upgrading is possible if it helps solve my...
I've read here and there that object reuse is a good thing to do - fewer objects, better garbage collection, faster execution, etc. So instead of doing this:
Foo f1 = new Foo();
f1.doSomething();
Foo f2 = new Foo();
f2.doSomething();
I've been doing this:
Foo f1 = new Foo()...
We have a popup menu at the top of our screen. When the user clicks on it, a menu appears. But if there's a text input field nearby, the popup menu is built behind the input box.
Here is a small html page that demonstrates the problem. I would appreciate any suggestions on how to fix this...
Can anyone give me a quick and dirty way to enumerate through all the components on a JPanel?
I need to add up the heights of all the components the JPanel contains. There doesn't seem to be a getComponents() or getContained() or similar method in JComponent that gives me access to what it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.