Search:
Type: Posts; User: SteveS
Search:
Search took 0.16 seconds.
-
Finally found the solution:
http://tips4java.wordpress.com/2009/05/01/closing-an-application/
Basically in the windowClosing() event you don't reject the closing you just change how the app...
-
I know this is simple, but I just can't find the solution (and Code Guru's search feature seems to be broken as clicking on it produces an endless wait)
I want the ability to reject the exiting...
-
April 4th, 2012, 01:58 PM
I don't know why the Help==> Check for Updates command in Netbeans failed to detect this, but there actually was an update and a pretty big update at that. I had 7.0.1 and the new version is 7.1.1. ...
-
April 4th, 2012, 01:22 AM
I'm unfamiliar with using the javac command line compiling tool, but I did figure it out well enough to successfully compile all of the packages (and therefore all of the files) into .class files...
-
April 4th, 2012, 01:08 AM
OMG. That's hardly better than chiseling the code on stone tablets!
I'm probably on the verge of blowing my top over something that seems more and more like a Netbeans bug, but since that's not...
-
April 3rd, 2012, 06:59 PM
I have very few backups of complete sets of the files. I do have backups in my Carbonite archive but they wouldn't represent complete sets. The strange thing is my most recent backup is giving me...
-
April 3rd, 2012, 06:51 PM
So now I have removed an unnecessary inner class, and references to it, and things started working again. I restored the code I deleted and ran the updated code. It CONTINUED to build just fine. ...
-
April 3rd, 2012, 01:30 PM
BTW: If I manually attempt to add one of these controls to my JFrame-derived class using the source editor instead of the design editor, I get some weird behavior.
In the constructor of the frame...
-
April 3rd, 2012, 12:59 PM
I have a Netbeans project with a CLASSPATH problem that came out of nowhere and I cannot solve. What's especially maddening is that everything compiled and ran fine until Sunday. On Sunday I...
-
April 3rd, 2012, 12:32 PM
keang is right. Printing output while testing is a great way to track down errors. In Java it's about as easy as it can get:
System.out.println( [put stuff in here] );
If you really want it...
-
March 27th, 2012, 06:33 PM
Thanks, but I initially headed in that direction, but it had a few problems:
1) The item being dragged remains on-screen while I need to make it look like the object is being moved.
2) The...
-
March 27th, 2012, 02:32 PM
Basically the JLayeredPane's getComponentAt() will literally return the component at the spot you specify, so if you are using the drag layer to move a component around a call to getComponentAt()...
-
March 27th, 2012, 11:47 AM
I am working on an application that uses a JLayeredPane. I'm using the drag layer for a "drag-n-move" operation and I would like to determine what other child component the drag is occurring upon.
...
-
November 29th, 2011, 10:42 AM
BTW: After making my post yesterday I literally gave up and went off to other tasks, most of which didn't even involve this computer. Today I screwed around on the web a little bit, clicked over to...
-
November 29th, 2011, 10:39 AM
This is all it is:
import java.awt.*;
public class RootApplet extends javax.swing.JApplet {
int number;
public void init() {
-
November 28th, 2011, 03:13 PM
I'm learning Java right now and this is probably an extremely basic question as I have only reached lesson 4 in "Teach Yourself Java in 24 Hours 6th Edition"
Anyway, in this lesson we create our...
-
June 20th, 2008, 05:45 PM
Ah! That explains why my custom messages somehow get handled while that little message is open.
Thanks
-
June 19th, 2008, 11:41 PM
I'm just calling the standard MessageBox function. Somehow the main message map must continue to process message map functions otherwise a mainframe wouldn't be able to repaint itself while a...
-
June 19th, 2008, 01:43 PM
I ran into an odd situation. I posted hundreds of custom messages to my main window, and when handling these messages the rare situation can occur where I pop up an error dialog. At any rate,...
-
I'd like to know how to determine if a drive is an external device that can be removed while hot (i.e. firewire and USB) or an internal device. DriveType() seems like it's what I need, but since I...
-
I'm listening to changes within a folder using ReadDirectoryChangesW and one of the notifications I need to handle is FILE_ACTION_REMOVED. I need to know whether the deleted item was a file or a...
-
April 23rd, 2008, 07:21 PM
Well, here's what the problem was.
First, the path must be only the path (with the double NULL termination). No wildcards:
const wchar_t g_wsz_DriverBackupFolder[] = L"C:\\Sample\0\0";
...
-
April 23rd, 2008, 07:08 PM
I have no window because this is just a plain and simple console app.
-
April 23rd, 2008, 07:07 PM
Can't use it. This is a plain and simple console app that does not use MFC.
-
April 23rd, 2008, 05:05 PM
Because I'm trying to delete all files from the folder.
|
Click Here to Expand Forum to Full Width
|