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...
...('S0440', S0460')";
// this does work
hdrSet.m_strFilter = "[COMPATIBLE_UNIT]='S0440'";
// following statement doesnot work
/* if(!hdrSet.Open(AFX_DB_USE_DEFAULT_TYPE, "SELECT [TITLE] FROM [tidcuhdr]") || hdrSet.IsEOF())
*/
// this statement does work but I...
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>...
The book "Visual C++ MFC Programming By Example", by John E. Swanke describes how to do this and includes source code on the CD that I have used successfully to create a splash screen for an application from a bitmap file. This is described on pages 168-174 and 341-349. You can...
I am using a property sheet with six property pages in an application. This is all working nicely. However, I would like to set some controls on one property page based on values entered via a control (or controls) located on a seperate property page. Both property pages are members of the...
It did work as suggested in SharedPain's reply. I did not initially have the statement structured properly when I tried it. Now I'm off and running again. Thank you for your help SharedPain.
I tried the suggestion but it didn't compile. m_windSpan is declared as an integer and Format would not convert it. Would it be better to declare the variable as a UINT? Is there another way to convert the integer to a CString or is there a way to use the device context to print the integer...
I would like a textbox in a dialog to be controlled by the status of a radio button on the same dialog. In other words, if the button is clicked, the textbox is active and text may be entered but if the button is not clicked, the text box is inactive and the user can not enter text. How is...
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.