Examples of runModalForTypes()


Examples of org.rococoa.cocoa.appkit.NSOpenPanel.runModalForTypes()

                return initialChar % 2 == 0;
            }
        });
       
        panel.setDelegate(ocProxy.id());
        int button = panel.runModalForTypes(null);
//              or, eg       
//                NSArray.CLASS.arrayWithObjects(
//                    NSString.stringWithString("txt"), null));
        NSString filenameAsNSString = panel.filename();
        if (button == NSOpenPanel.NSOKButton) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.