Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by ModelTrains

  1. ModelTrains

    How do I set a default font for entire application?

    Thank you!!!! That worked great!
  2. ModelTrains

    How do I set a default font for entire application?

    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)...
  3. ModelTrains

    Java fonts when upgrading Swing from 1.3 to 1.4

    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...
  4. ModelTrains

    Java fonts when upgrading Swing from 1.3 to 1.4

    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.
  5. ModelTrains

    Java fonts when upgrading Swing from 1.3 to 1.4

    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...
  6. ModelTrains

    How many ways to get into an endless loop?

    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...
  7. ModelTrains

    How to convert SetNextFocusable to FocusTraversalPolicy?

    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?
  8. ModelTrains

    How to convert SetNextFocusable to FocusTraversalPolicy?

    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...
  9. ModelTrains

    How to convert SetNextFocusable to FocusTraversalPolicy?

    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...
  10. ModelTrains

    How do change the colors of the TitleBar in java 1.3 with Swing?

    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...
  11. ModelTrains

    How do change the colors of the TitleBar in java 1.3 with Swing?

    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...
  12. ModelTrains

    Transferring data from one db to another

    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.
  13. ModelTrains

    SQLBase

    Oops! Toward the end in step 6, if a user updated PROD during the copy, then DEV is "now" corrupt!
  14. ModelTrains

    SQLBase

    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...
  15. ModelTrains

    Backup without stopping server, is it possible?

    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} /...

Part and Inventory Search

Back
Top