How do I set the default font for the entire application?
I currently have this:
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
Font f = new Font("Arial", Font.PLAIN, 12);
UIManager.put("Menu.font", f)...
Afurther investigation, here is where the font is explicitly set. This code was not changed when re-compiled. The font Height seems to be the same, but the letters are a little closer together, thus appearing smaller:
example:
labelTitle.setFont(new java.awt.Font("Dialog", 1, 12));
The same...
I log into the Windows server with IE6. From there, I can run the Java 1.3 version and the 1.4 version. The font size is smaller with the Java 1.4 version. All other variables are the same. I need to get an answer from "who knows" and if it can be fixed.
We are upgrading a large applicaiton with a Swing GUI from Java 1.3 to Java 1.4.2_12. The first question from the users is: "Why did the font get smaller?"
The users have Windows XP, and the server is running Citrix from Windows 2003 servers over an intranet.
I have not found any...
A java developer at my company (not me!) created an endless loop situation WITHOUT coding for it. For accounting purposes, a tradeshow is divided into virtual "areas" and "sub-areas". This is presented in the GUI application in a tree structure:
area1
-sub area 2
-sub area 3
-sub-sub...
Dian,
My nightmare is just beginning...
Does anyone have an example of a JDialog with two JPanels that you can successfully tab inside and between data-entry and button objects on the panels?
No, I don't need to keep 'setNextFocusable', but I am looking for the most time-efficient way to convert 400 method calls in about 125 classes.
By design:
(I didn't do it) The application MOSTLY consists of dialogs containing data entry panels and button panels. Since the app was written in...
We have a Java 1.3 application that is being converted to 1.4.2_11 (or possibly 1.4.2_12). The app uses SetNextFocusableComponent over 400 times in JDialogs, JFrames, and JPanels. The users require custom Tab orders on several screens, a.k.a Column 1, top-to-bottom, then Column 2 top-to-bottom...
Tim,
You are correct, it is JFrame. We have SEVERAL applications we support that have been written in 1.4, we are just bringing this one up to the same level this Summer. There is a lager project "on the table" to bring ALL our java-based applications up to current [proven] technology. The...
We have a Swing application in java 1.3 that is used as normal for accessing production data (PROD), but they will soon have an Archive database (ARCHIVE) where the same application will be used. The database knows if it is PROD or ARCHIVE, but the users want the titlebar to be a red background...
What is the condition of the destination database? Is it an empty schema? Is it a copy of the source db? Does it contain data from a different schema? Your copy options depend on the conditions of the destination db.
If this is a manual process, I have found the best way is:
1. deinstall the PROD and DEV databases (if you have a maintenance time window)
2. copy the .DBS file to the \DEV folder
3. replace the DEV.DBS file with the copy
4. install both databases.
*****
If you cannot deinstall PROD:
1. find...
Yes, it is possible, but hot backups are best done when few or no updates are being performed. I run a scheduled batch job in the middle of the night:
C:\Centura\sqltalk.exe BAT INPUT=C:\CENTURA\BACKUP.SQL
The SQLTalk script, BACKUP.SQL, looks like this:
set server {server}/{password}
/...
OK, I found the process. It is scheduled to run nightly and runs a script. The script spools the output to a text file. SQLTalk closes itself when the job is done. This can be run through a scheduler or via a BAT file. The following command is all on one line:
C:\Centura\sqltalk.exe BAT...
Dalex,
I run batch jobs every night. Email me:
scevem@totalshow.com
NOTE: This is a business email and unsolicited emails will be investigated and appropriate action will be taken.
Are there any other processes or cursors open on this database at the time? What happens if you give the following command:
SELECT *
FROM SYSTABLES
WHERE NAME LIKE 'SYS%';
Could this be a networking problem?
I have been having trouble for the last 4 weeks. Outlook 2000 sometimes gets timeout messages while downloading email from my ISP. My ISP Tech support says it is an Outlook problem that they don't support. It "times out" when I get to the message "clearing messages on the...
Vpar,
I do not work for Gupta/Centura, but here is my understanding of row pages from their tech support:
A row page is a block of space in the .DBS file that contains a set of database records. The method used to store rows in "row pages" is proprietery to Gupta, but it is related...
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.