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...
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...
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 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...
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>...
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...
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...
I would like to convert a variable declared as an int to a CString for printing to the screen using a device context. In the code below, f, i, and s are all CStrings and m_windSpan is an int. I would like to print the int to the screen preceeded by the text. Casting the int to a CString does...
I am creating a small application that utilizes the jdbc:odbc bridge to retrieve information from a database. I am new to Java and have mostly used C++ for text-based programs. Therefore, using the GUI classes is new to me. I created a JFrame that includes several JTextFields to receive input...
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.