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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. JoshCastagno

    Setting Font at one place

    I just tried this code on 1.4.2 and it worked fine... make sure your are setting the defaults before you create the menu stuf... public class Test { public static final void main(String[] args) { Font f = new Font("courier", Font.BOLD, 20); UIManager.put("Menu.font&quot...
  2. JoshCastagno

    java -jar a.jar para1 in linux

    Can you post the results of ... java -version ... it looks like your command should work, but it might depend on what version of java your are running
  3. JoshCastagno

    Setting Font at one place

    As with all Swing Components, there are UIManager properties that you can set to change their default look. In your case... Font f = new Font(...); UIManager.put("MenuBar.font", f); UIManager.put("MenuItem.font", f); ...would probably get the job done. Keep in mind that...
  4. JoshCastagno

    mouslistener with 3 jtables

    Here is some demo code... import javax.swing.*; import javax.swing.border.LineBorder; import java.awt.*; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; /** * <pre> * Test * </pre> */ public class Test { public static void main(String[] args) { JFrame test = new...
  5. JoshCastagno

    mouslistener with 3 jtables

    A mouse released event is gauranteed to occur in the same component as the mouse pressed event. It sounds like you are trying to implement some sort of drag and drop function. You may want to think about using the standard dnd ability. Now... you might be able to cheat by adding a...

Part and Inventory Search

Back
Top