O'Reilly has a good article on the Jaguar ipfw firewall and its use at: http://www.macdevcenter.com/pub/a/mac/2002/12/27/macosx_firewall.html
A good shareware gui tool to administer ipfw is the BrickHouse app at:
http://personalpages.tds.net/~brian_hill/brickhouse.html
Good Luck.
I have a G4 iMac running OS X 10.1.4 and a Lexmark X83 printer/copier/scanner. The printer works fine when used from an OS X application and will also work if I boot up in OS 9.2 but will not work when I use a Classic app after booting up in OS X. When the Classic mode finishes launching, I...
The name of the application will be the same as the name of the WAR file (not including the .war extension) that you dropped into the webapps directory. This application name is the starting point for resources within your application. Therefore, the url you need to use in your first example...
I am trying to implement a JTable that uses a JTextArea for the Rendering and Editing component for a column. The rendering seems to work but the editor does not save the changes made. I suspect I am not handling events properly. When I click on a cell in the column using the JTextArea editor...
Here is an example snippet. This uses an Oracle database. The ResultSet.next() method iterates through the records returned.
JTextArea textArea1 = new JTextArea(10, 50);
String query = "select emp_name, emp_id from employee order by emp_name";
Connection con = null;
Statement stmnt...
I tried the first solution,
if(jTextField1.getText().equals("")){
...
}
and it worked. The second solution,
if(jTextField1.getText().equals(null)){
...
}
did not work. I will use the first solution. Thanks for the help.
I would like to display the path of execution my MFC application is taking through a decision tree that performs calculations. Each time a branch of the decision tree is encountered, I would like to append another message (a simple CString) to a dialog box that would appear upon initial entry...
I would like check to see if the user entered any value in a JTextField before clicking a JButton in order determine the branch to take in a conditional statement. In the JButton actionPerformed() method I have a statement such as:
if(JTextField1.getText() == null){
... do something ...
}...
I would like to be able to prevent caching of my JApplet used in a html page when viewed using IE 5.0 (and using Sun Java 1.3 plug-in). I have found that while developing the applet, when I recompile and try to view again using the same browser session, the applet changes do not appear. I have...
I tried what BurtanI suggested and removed the "|| hdrSet.IsEOF()" from within the recordset open command but I still received the identical "invalid descriptor index" error.
The try/catch works fine. I changed the way I open the CRecordset derived object and can get a...
I changed the code as shown below to include a try/catch block for the CDBException object. The message returned was "invalid descriptor index". The program did not automatically terminate with the inclusion of the exception handler. I have not used try/catch blocks in C++ before so...
I am trying to add access to a database (currently extracted into MS Access 97 during development) into an existing MFC application that did not originally include database support. I have registered the database as "RAMS" through the ODBC utility on the Windows Control Pnnel. I used...
Pete-<br><br>Thank you for your quick response. I looked up the OnCtrlColor() method of CWnd in the help files. Unfortunately, there is no example of its usage. If I want to change the color of the standard OK button provided by a dialog box or the standard...
I changed the dialog box default color in an application I am developing but the buttons are still the default grey. I used the following code in the CMyApp::InitInstance()of the MyApp.cpp file.<br><br>// set the background color for all dialogs to slate blue // with black text<br>...
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.