Fonts in JBuilder

A have a java application that is supposed to show either chinese or western europe fonts according to selections made in the application.
I works fine when I start the application from within the JBuilder environment, but when I move the compiled jarfile to any other place and run it, I cannot show the chinese font. I only get little squares instead.
What is missing?

A have a java application that is supposed to show
either chinese or western europe fonts according to
selections made in the application.
I works fine when I start the application from within
the JBuilder environment, but when I move the compiled
jarfile to any other place and run it, I cannot show
the chinese font. I only get little squares instead.
What is missing?
The JBuilder app provides its own internal JDK, and Borland has modified the font.properties files to support a wider range of characters than the default font.properties supplied by Sun. Unfortunately, the JDK/JRE supplied by Sun is less capable in some ways...although it obviously can be modified.
The answer: you can use physical fonts directly from your applications or you can modify your font property logical fonts to include a mapping to the Chinese physical fonts. Or...you can change your Windows host in the Regional Settings control panel so that the host's default locale is Chinese. Your JRE will then find the correct Chinese font.properties file and will access system fonts appropriately.
Regards,
John O'Conner
http://www.joconner.com/javai18n/

Similar Messages

  • Korean Fonts from inside JBuilder fine, outside not?

    Hi guys, thanks for taking a look at my problem.
    I have an applet that builds and runs successfully within JBuilder. I can choose
    either Korean or English and, via a C++ server, load the correct resource
    strings from a given unicode text file and display them correctly.
    ( I've previously loaded the korean win2000 language pack, and renamed my font.properties.ko file to font.properties. )
    I then create a .jar archive & accompanying html page and place them on a webserver.
    When I then access the applet using IE I only see square boxes where my wonderful Korean used to be!?
    I've tried manually setting the encoding to be Korean within IE, alas to no avail. Anyone got any ideas? I had hoped that providing a user had installed the correct language pack, the applet would be able to display things correctly..
    Any tips would be greatly appreciated.
    Thanks in Advance,
    Grant Appleyard

    Dear i found a different thing.
    i used IBM Java and Urdu fonts for develope the urdu software.
    using sun Java i too had same problem.
    i am just telling u, u may try it.

  • Applet working on JBuilder but not on appletviewer!!!!!

    I ve made a keybord.Here some buttons are missing. The user presses the buttons and shapes a word!When the jButton22 is pressed(Comparison button) the applet tells him if the result is true or false and displays an image(imageIcon foruser in jlabel forusers) with the correct result!!The jlabel for users is setVisible(false) and setVisible(true) when the comparison button is pressed and the result is wrong.My problem is that the jlabel works fine in JBuilder but when i run the applet in appletviewer the jlabel forusers isnt showing!!If i minimize and maximize the window then the label appears and from that point is working properly!Any suggestions would be appreciated!Thank you!!
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import javax.swing.*;
    public class Applet5 extends Applet {
    JLabel frase = new JLabel();
    JLabel forusers = new JLabel();
    JLabel string = new JLabel();
    JLabel message = new JLabel();
    JLabel plikt = new JLabel();
    JLabel gram = new JLabel();
    JLabel sint = new JLabel();
    JLabel vrah = new JLabel();
    JLabel end = new JLabel();
    JLabel dior = new JLabel();
    JLabel befforusers = new JLabel();
    JLabel[] jLabel = new JLabel[6];
    ImageIcon myIcon1 = new ImageIcon((Applet5.class.getResource("drawing/1.jpg")));
    ImageIcon myIcon2 = new ImageIcon((Applet5.class.getResource("drawing/2.jpg")));
    ImageIcon myIcon3 = new ImageIcon((Applet5.class.getResource("drawing/3.jpg")));
    ImageIcon myIcon4 = new ImageIcon((Applet5.class.getResource("drawing/4.jpg")));
    ImageIcon myIcon5 = new ImageIcon((Applet5.class.getResource("drawing/5.jpg")));
         ImageIcon foruser1 = new ImageIcon((Applet5.class.getResource("foruser/foruser1.jpg")));
         ImageIcon foruser2 = new ImageIcon((Applet5.class.getResource("foruser/foruser2.jpg")));
         ImageIcon foruser3 = new ImageIcon((Applet5.class.getResource("foruser/foruser3.jpg")));
         ImageIcon foruser4 = new ImageIcon((Applet5.class.getResource("foruser/foruser4.jpg")));
         ImageIcon foruser5 = new ImageIcon((Applet5.class.getResource("foruser/foruser5.jpg")));
        ImageIcon frases1= new ImageIcon((Applet5.class.getResource("frase/frase1.jpg")));
        ImageIcon frases2= new ImageIcon((Applet5.class.getResource("frase/frase2.jpg")));
        ImageIcon frases3= new ImageIcon((Applet5.class.getResource("frase/frase3.jpg")));
        ImageIcon frases4= new ImageIcon((Applet5.class.getResource("frase/frase4.jpg")));
        ImageIcon frases5= new ImageIcon((Applet5.class.getResource("frase/frase5.jpg")));
    ImageIcon telos = new ImageIcon((Applet5.class.getResource("end/telos.jpg")));
    ImageIcon diorth = new ImageIcon((Applet5.class.getResource("dior/dior.jpg")));
    String[] user= new String[6];
    JButton jButton1 = new JButton("1..");
    JButton jButton2 = new JButton("2..");
    JButton jButton3 = new JButton("3..");
    JButton jButton4 = new JButton("4..");
    JButton jButton5 = new JButton("5..");
    JButton jButton21 = new JButton("��������");
    JButton jButton22 = new JButton("��������");
    JButton jButton23 = new JButton("����������");
    JButton jButton24 = new JButton("������� ������");
    JButton jButton25 = new JButton("������");
    Font f = new Font("Palatino LinoType", Font.PLAIN, 18);
    Font g = new Font("TimesRoman", Font.PLAIN, 0);
    Font c = new Font("Palatino Linotype",Font.PLAIN, 14);
    Font p = new Font("Palatino Linotype",Font.PLAIN, 14);
    String s = new String();
    int nextLabelToShowIcon = 1;
    int l=0;
    int current = 0;
    int cur = 0;
    int str = 1;
    FlowLayout flowLayout1 = new FlowLayout();
        public void init() {
          try {
                    jbInit();
                  catch(Exception e) {
                    e.printStackTrace();
         user[1]=new String("82."+"ken"+"62."+"82."+"59."+"77."+"82."+"94."+"ken"+"107"+"127"+"77."+"ken"
             +"151"+"ken"+"1.."+"69."+"107"+"53."+"93."+"59."+"82."+"94."+"ken"+"30."+"1.."+"13."+"82."+"114"
             +"82."+"94.");
          user[2]=new String("1.."+"66."+"23."+"ken"+"74."+"31."+"77."+"ken"+"82."+"ken"+"30."+"62."+"1.."
           +"59."+"82."+"94."+"ken"+"62."+"1.."+"59."+"ken"+"82."+"114"+"62."+"ken"+"1.."+"77."+"ken"+"107"+"59."+"94."
           +"ken"+"1.."+"93."+"77."+"53."+"99."+"82.");
          user[3]=new String("59."+"77."+"2.."+"ken"+"107"+"59."+"ken"+"30."+"ken"+"31."+"74."+"31."+"ken"+"29."
           +"46."+"82."+"107"+"2.."+"ken"+"107"+"82."+"ken"+"82."+"77."+"82."+"74."+"1.."+"ken"+"94."+"82."+"114"
           +"ken"+"13."+"65."+"1.."+"94."+"123"+"53."+"74."+"38."+"107"+"1.."+"59.");
          user[4]=new String("74."+"35."+"1.."+"65."+"127"+"94."+"ken"+"82."+"ken"+"159"+"ken"+"109"+"120"
           +"ken"+"82."+"59."+"62."+"38."+"82."+"120"+"ken"+"107"+"59."+"74."+"2.."+"ken"+"56."+"31."+"93."+"1.."
           +"85."+"82."+"77."+"107"+"2.."+"94.");
    jLabel[1] = new JLabel();
    jLabel[2] = new JLabel();
    jLabel[3] = new JLabel();
    jLabel[4] = new JLabel();
    jLabel[5] = new JLabel();
    jButton1.setPreferredSize(new Dimension(32, 30));
    jButton1.setIcon(myIcon1);
    jButton1.setFont(g);
    jButton1.setVerticalTextPosition(SwingConstants.CENTER);
    jButton1.setHorizontalTextPosition(SwingConstants.CENTER);
    jButton1.addActionListener(new Applet5_jButton1_actionAdapter(this));
    jButton2.setPreferredSize(new Dimension(32, 30));
    jButton2.setIcon(myIcon2);
    jButton2.setFont(g);
    jButton2.setVerticalTextPosition(SwingConstants.CENTER);
    jButton2.setHorizontalTextPosition(SwingConstants.CENTER);
    jButton2.addActionListener(new Applet5_jButton2_actionAdapter(this));
    jButton3.setPreferredSize(new Dimension(32, 30));
    jButton3.setIcon(myIcon3);
    jButton3.setFont(g);
    jButton3.setVerticalTextPosition(SwingConstants.CENTER);
    jButton3.setHorizontalTextPosition(SwingConstants.CENTER);
    jButton3.addActionListener(new Applet5_jButton3_actionAdapter(this));
    jButton4.setPreferredSize(new Dimension(36, 30));
    jButton4.setIcon(myIcon4);
    jButton4.setFont(g);
    jButton4.setVerticalTextPosition(SwingConstants.CENTER);
    jButton4.setHorizontalTextPosition(SwingConstants.CENTER);
    jButton4.addActionListener(new Applet5_jButton4_actionAdapter(this));
    jButton5.setPreferredSize(new Dimension(37, 30));
    jButton5.setIcon(myIcon5);
    jButton5.setVerticalTextPosition(SwingConstants.CENTER);
    jButton5.setHorizontalTextPosition(SwingConstants.CENTER);
    jButton5.setFont(g);
    jButton5.addActionListener(new Applet5_jButton5_actionAdapter(this));
    jButton21.addActionListener(new Applet5_jButton21_actionAdapter(this));
    jButton22.addActionListener(new Applet5_jButton22_actionAdapter(this));
    jButton23.addActionListener(new Applet5_jButton23_actionAdapter(this));
    jButton24.addActionListener(new Applet5_jButton24_actionAdapter(this));
    jButton25.addActionListener(new Applet5_jButton25_actionAdapter(this));
    frase.setIcon(frases1);
    frase.setPreferredSize(new Dimension(750,40));
    message.setPreferredSize(new Dimension(220, 30));
    befforusers.setPreferredSize(new Dimension(1000,50));
    forusers.setIcon(foruser1);
    forusers.setPreferredSize(new Dimension(1000,50));
    forusers.setVisible(false);
    end.setPreferredSize(new Dimension(210,30));
    end.setVisible(false);
    dior.setIcon(diorth);
    dior.setPreferredSize(new Dimension(81,30));
    dior.setVisible(false);
    plikt.setText("������������");
    gram.setText("�������� & ���������� ���������");
    sint.setText("����������");
    vrah.setText("������������");
    message.setFont(p);
    plikt.setFont(f);
    gram.setFont(c);
    sint.setFont(c);
    vrah.setFont(c);
    string.setVisible(false);
    this.setLayout(flowLayout1);
    jLabel[1].setPreferredSize(new Dimension(50, 50));
    jLabel[2].setPreferredSize(new Dimension(50, 50));
    jLabel[3].setPreferredSize(new Dimension(50, 50));
    jLabel[4].setPreferredSize(new Dimension(50, 50));
    jLabel[5].setPreferredSize(new Dimension(50, 50));
    this.add(plikt);
    this.add(gram);
    this.add(jButton1);
    this.add(jButton2);
    this.add(jButton3);
    this.add(jButton4);
    this.add(jButton5);
    this.add(dior);
    this.add(jButton21);
    this.add(jButton22);
    this.add(jButton23);
    this.add(jButton24);
    this.add(jButton25);
    this.add(end);
    this.add(frase);
    this.add(message);
    this.add(befforusers);
    this.add(forusers);
    this.add(jLabel[1]);
    this.add(jLabel[2]);
    this.add(jLabel[3]);
    this.add(jLabel[4]);
    this.add(jLabel[5]);
    this.add(string);
    private void next2(){
    if(str==0);
    string.setText(user[1]);
    if(str==1)
       string.setText(user[2]);
    if(str==2)
       string.setText(user[3]);
    if(str==3);
    string.setText(user[4]);
    if(str==4)
       string.setText(user[5]);
    str++;
      private void next1(){
        if(cur==0)
      forusers.setIcon(foruser2);
      else if(cur==1)
      forusers.setIcon(foruser3);
      else if(cur==2)
      forusers.setIcon(foruser4);
      else if(cur==3)
      forusers.setIcon(foruser5);
      else if(cur==4)
      forusers.setIcon(foruser6);
        cur++;
      private void next(){
        if(current==0)
    frase.setIcon(frases2);
    else if(current==1)
    frase.setIcon(frases3);
    else if(current==2)
    frase.setIcon(frases4);
    else if(current==3)
    frase.setIcon(frases5);
    current++;
    void jButton1_actionPerformed(ActionEvent e)  {
    if (nextLabelToShowIcon == 1)
    jLabel[1].setIcon(myIcon1);
    else if (nextLabelToShowIcon == 2)
    jLabel[2].setIcon(myIcon1);
    else if (nextLabelToShowIcon == 3)
    jLabel[3].setIcon(myIcon1);
    else if (nextLabelToShowIcon == 4)
    jLabel[4].setIcon(myIcon1);
    else if (nextLabelToShowIcon == 5)
    jLabel[5].setIcon(myIcon1);
    s = s + jButton1.getText();
    nextLabelToShowIcon++;l++; jButton21.setVisible(true); dior.setVisible(false);
    void jButton2_actionPerformed(ActionEvent e)  {
    if (nextLabelToShowIcon == 1)
    jLabel[1].setIcon(myIcon2);
    else if (nextLabelToShowIcon == 2)
    jLabel[2].setIcon(myIcon2);
    else if (nextLabelToShowIcon == 3)
    jLabel[3].setIcon(myIcon2);
    else if (nextLabelToShowIcon == 4)
    jLabel[4].setIcon(myIcon2);
    else if (nextLabelToShowIcon == 5)
    jLabel[5].setIcon(myIcon2);
    s = s + jButton2.getText();
    nextLabelToShowIcon++;l++; jButton21.setVisible(true); dior.setVisible(false);}
    void jButton3_actionPerformed(ActionEvent e)  {
    if (nextLabelToShowIcon == 1)
    jLabel[1].setIcon(myIcon3);
    else if (nextLabelToShowIcon == 2)
    jLabel[2].setIcon(myIcon3);
    else if (nextLabelToShowIcon == 3)
    jLabel[3].setIcon(myIcon3);
    else if (nextLabelToShowIcon == 4)
    jLabel[4].setIcon(myIcon3);
    else if (nextLabelToShowIcon == 5)
    jLabel[5].setIcon(myIcon3);
    s = s + jButton3.getText();
    nextLabelToShowIcon++;l++; jButton21.setVisible(true); dior.setVisible(false);}
    void jButton4_actionPerformed(ActionEvent e)  {
    if (nextLabelToShowIcon == 1)
    jLabel[1].setIcon(myIcon4);
    else if (nextLabelToShowIcon == 2)
    jLabel[2].setIcon(myIcon4);
    else if (nextLabelToShowIcon == 3)
    jLabel[3].setIcon(myIcon4);
    else if (nextLabelToShowIcon == 4)
    jLabel[4].setIcon(myIcon4);
    else if (nextLabelToShowIcon == 5)
    jLabel[5].setIcon(myIcon4);
    s = s + jButton4.getText();
    nextLabelToShowIcon++;l++; jButton21.setVisible(true); dior.setVisible(false);}
    void jButton5_actionPerformed(ActionEvent e)  {
    if (nextLabelToShowIcon == 1)
    jLabel[1].setIcon(myIcon5);
    else if (nextLabelToShowIcon == 2)
    jLabel[2].setIcon(myIcon5);
    else if (nextLabelToShowIcon == 3)
    jLabel[3].setIcon(myIcon5);
    else if (nextLabelToShowIcon == 4)
    jLabel[4].setIcon(myIcon5);
    else if (nextLabelToShowIcon == 5)
    jLabel[5].setIcon(myIcon5);
    s = s + jButton5.getText();
    nextLabelToShowIcon++;l++; jButton21.setVisible(true); dior.setVisible(false);}
    void jButton21_actionPerformed(ActionEvent e) {
    if(nextLabelToShowIcon>1){
    jLabel[l].setIcon(null);
    s = s.substring(0, s.length()-3);
    l = l - 1;
    nextLabelToShowIcon = nextLabelToShowIcon - 1;}
    else{
    jButton21.setVisible(false);
    dior.setVisible(true);
    l=0;
    s="";
    nextLabelToShowIcon=1;}
    void jButton22_actionPerformed(ActionEvent e) {
    if(s.length()>0){
        if (s.equals(user[str])) {
          message.setText("������ ����� �����");
        else {
          forusers.getIcon();
          forusers.setVisible(true);
          befforusers.setVisible(false);
          message.setText("�����. � ����� ������� ����� : ");
    repaint();
    jButton1.setDisabledIcon(myIcon1);
    jButton2.setDisabledIcon(myIcon2);
    jButton3.setDisabledIcon(myIcon3);
    jButton4.setDisabledIcon(myIcon4);
    jButton5.setDisabledIcon(myIcon5);
    jButton1.setEnabled(false);
    jButton2.setEnabled(false);
    jButton3.setEnabled(false);
    jButton4.setEnabled(false);
    jButton5.setEnabled(false);
    jButton21.setEnabled(false);
    void jButton23_actionPerformed(ActionEvent e) {
    dior.setVisible(false);
    jButton21.setEnabled(true);
    jButton21.setVisible(true);
    s="";
    l=0;
    nextLabelToShowIcon=1;
    message.setText("");
    befforusers.setVisible(true);
    forusers.setVisible(false);
    jLabel[1].setIcon(null);
    jLabel[2].setIcon(null);
    jLabel[3].setIcon(null);
    jLabel[4].setIcon(null);
    jLabel[5].setIcon(null);
      jButton1.setEnabled(true);
      jButton2.setEnabled(true);
      jButton3.setEnabled(true);
      jButton4.setEnabled(true);
      jButton5.setEnabled(true);
    void jButton24_actionPerformed(ActionEvent e) {
    jButton21.setVisible(true);
    jButton21.setEnabled(true);
    dior.setVisible(false);
    nextLabelToShowIcon=1;
      jButton1.setEnabled(true);
      jButton2.setEnabled(true);
      jButton3.setEnabled(true);
      jButton4.setEnabled(true);
      jButton5.setEnabled(true);
      jButton6.setEnabled(true);
    l=0;
    befforusers.setVisible(true);
    forusers.setVisible(false);
    next1();
    next();
    next2();
    s="";
    message.setText("");
    jLabel[1].setIcon(null);
    jLabel[2].setIcon(null);
    jLabel[3].setIcon(null);
    jLabel[4].setIcon(null);
    jLabel[5].setIcon(null);
    void jButton25_actionPerformed(ActionEvent e) {
    public void paint(Graphics g) {
    super.paint(g);}
    private boolean isStandalone = false;
    public String getParameter(String key, String def) {
      return isStandalone ? System.getProperty(key, def) :
      (getParameter(key) != null ? getParameter(key) : def);
    private void jbInit() throws Exception {
        public String getAppletInfo() {
          return "Applet Information";
      public String[][] getParameterInfo() {
        return null;
      public static void main(String[] args) {
        Applet5 applet = new Applet5();
        applet.isStandalone = true;
        Frame frame = new Frame();
        frame.add(applet, BorderLayout.CENTER);
        applet.init();
        applet.start();
        frame.setSize(450,400);
        Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
        frame.setLocation((d.width - frame.getSize().width) / 2, (d.height - frame.getSize().height) / 2);
        frame.setVisible(true);
        frame.setResizable(false);
    class Applet5_jButton1_actionAdapter
    implements java.awt.event.ActionListener {
    Applet5 adaptee;
    Applet5_jButton1_actionAdapter(Applet5 adaptee) {
    this.adaptee = adaptee;
    public void actionPerformed(ActionEvent e) {
    adaptee.jButton1_actionPerformed(e);
    class Applet5_jButton2_actionAdapter
    implements java.awt.event.ActionListener {
    Applet5 adaptee;
    Applet5_jButton2_actionAdapter(Applet5 adaptee) {
    this.adaptee = adaptee;
    public void actionPerformed(ActionEvent e) {
    adaptee.jButton2_actionPerformed(e);
    class Applet5_jButton3_actionAdapter
    implements java.awt.event.ActionListener {
    Applet5 adaptee;
    Applet5_jButton3_actionAdapter(Applet5 adaptee) {
    this.adaptee = adaptee;
    public void actionPerformed(ActionEvent e) {
    adaptee.jButton3_actionPerformed(e);
    class Applet5_jButton4_actionAdapter
    implements java.awt.event.ActionListener {
    Applet5 adaptee;
    Applet5_jButton4_actionAdapter(Applet5 adaptee) {
    this.adaptee = adaptee;
    public void actionPerformed(ActionEvent e) {
    adaptee.jButton4_actionPerformed(e);
    class Applet5_jButton5_actionAdapter
    implements java.awt.event.ActionListener {
    Applet5 adaptee;
    Applet5_jButton5_actionAdapter(Applet5 adaptee) {
    this.adaptee = adaptee;
    public void actionPerformed(ActionEvent e) {
    adaptee.jButton5_actionPerformed(e);
    class Applet5_jButton21_actionAdapter
    implements java.awt.event.ActionListener {
    Applet5 adaptee;
    Applet5_jButton21_actionAdapter(Applet5 adaptee) {
    this.adaptee = adaptee;
    public void actionPerformed(ActionEvent e) {
    adaptee.jButton21_actionPerformed(e);
    class Applet5_jButton22_actionAdapter
    implements java.awt.event.ActionListener {
    Applet5 adaptee;
    Applet5_jButton22_actionAdapter(Applet5 adaptee) {
    this.adaptee = adaptee;
    public void actionPerformed(ActionEvent e) {
    adaptee.jButton22_actionPerformed(e);
    class Applet5_jButton23_actionAdapter
    implements java.awt.event.ActionListener {
    Applet5 adaptee;
    Applet5_jButton23_actionAdapter(Applet5 adaptee) {
    this.adaptee = adaptee;
    public void actionPerformed(ActionEvent e) {
    adaptee.jButton23_actionPerformed(e);
    class Applet5_jButton24_actionAdapter
    implements java.awt.event.ActionListener {
    Applet5 adaptee;
    Applet5_jButton24_actionAdapter(Applet5 adaptee) {
    this.adaptee = adaptee;
    public void actionPerformed(ActionEvent e) {
    adaptee.jButton24_actionPerformed(e);
    class Applet5_jButton25_actionAdapter
    implements java.awt.event.ActionListener {
    Applet5 adaptee;
    Applet5_jButton25_actionAdapter(Applet5 adaptee) {
    this.adaptee = adaptee;
    public void actionPerformed(ActionEvent e) {
    adaptee.jButton25_actionPerformed(e);
    }

    I performed some testing on your program, and get an ArrayIndexOutOfBoundsException on one of the buttons. So, I guess there have to be some implementation logic error.
    Since I have no idea what your program is trying to achieve, here's what you can do:
    1. Try to shorten your program.
    2. Add your code piece by piece.
    3. Perform some logic testing.
    4. Repeat steps 2 & 3.

  • How do I set project paths in JBuilder 4?

    Hello,
    I am trying to create a new project in JBuilder 4.
    I used the project wizard and set my paths to the following folders:
    C:\OU2007\TM427\mysolution
    However when the project and all files are getting saved to these folders:
    C:\Documents and Settings\Jason\jbproject
    Have you any idea why this is? I�m a bit confused on what I should enter for each of the paths in the project wizard, any help would be appreciated.
    thanks,
    Jason.

    It's difficult to set a single font size without wrecking the display of most web sites. One alternative would be to store your preferred zoom level and apply that to all sites. This requires an add-on such as:
    * [https://addons.mozilla.org/en-US/firefox/addon/6965/ Default FullZoom Level]
    * [https://addons.mozilla.org/en-US/firefox/addon/2592/ NoSquint]
    Does that work for you?

  • Configuring JBuilder JDK's

    Hello again,
    Well my CLASSPATH is now perfectly set and I can Compile my
    code of MySql in Java 1.4.1 but now the problem is with my JBuilder
    I changed the configuration of my project from the JDK from 1.3 the
    default JBuilder JDK to the Java 1.4.1 but when I make my project it
    gives me the following error
    Warning #: 910 : cannot check class java.awt.event.ItemEvent; class file has wrong version 48.0; assuming package java.awt.event is stable; use of -nomakestable is recommended
    Warning #: 910 : cannot check class gsales.SalesFrm$1; problem with import: class file has wrong version 48.0; assuming package gsales is stable; use of -nomakestable is recommended
    What's the problem?

    I tried to compile my project with the command line Java tools but ended up in the following errors
    SalesFrm.java:79: cannot resolve symbol
    symbol  : class Login_Dialog
    location: class gsales.SalesFrm
       Login_Dialog login = new Login_Dialog();
       ^
    SalesFrm.java:79: cannot resolve symbol
    symbol  : class Login_Dialog
    location: class gsales.SalesFrm
       Login_Dialog login = new Login_Dialog();
                                ^
    Note: SalesFrm.java uses or overrides a deprecated API.
    Note: Recompile with -deprecation for details.
    2 errorsThese are the two classes:
    Login_Dialog.java
    package gsales;
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    public class Login_Dialog extends JDialog {
      JPanel panel1 = new JPanel();
      JPanel south = new JPanel(new FlowLayout(FlowLayout.CENTER));
      JPanel center = new JPanel(new GridLayout(2,1));
      BorderLayout borderLayout1 = new BorderLayout();
      JButton Login_But = new JButton();
      JButton Cancel_But = new JButton();
      JPanel userpane = new JPanel();
      JPanel passpane = new JPanel();
      JLabel User_Label = new JLabel();
      JLabel Pass_Label = new JLabel();
      JLabel Top = new JLabel();
      JTextField UserName = new JTextField();
      JPasswordField Password = new JPasswordField();
      String user, pass;
      public Login_Dialog(Frame frame, String title, boolean modal) {
        super(frame, title, modal);
        try {
          jbInit();
          pack();
        catch(Exception ex) {
          ex.printStackTrace();
      public Login_Dialog() {
        this(null, "Sales Login", false);
      void jbInit() throws Exception {
        panel1.setLayout(borderLayout1);
        this.setResizable(false);
        this.setModal(true);
        Login_But.setFont(new java.awt.Font("SansSerif", 1, 30));
        Login_But.setMaximumSize(new Dimension(150, 49));
        Login_But.setPreferredSize(new Dimension(133, 49));
        Login_But.setText("OK");
        Login_But.addActionListener(new java.awt.event.ActionListener() {
          public void actionPerformed(ActionEvent e) {
            UserLogin(e);
        Cancel_But.setFont(new java.awt.Font("SansSerif", 1, 30));
        Cancel_But.setText("Cancel");
        Cancel_But.addActionListener(new java.awt.event.ActionListener() {
          public void actionPerformed(ActionEvent e) {
            onCancel(e);
        User_Label.setText("User Name: ");
        Pass_Label.setText("Password: ");
        UserName.setPreferredSize(new Dimension(150, 21));
        Top.setFont(new java.awt.Font("Dialog", 1, 40));
        Top.setPreferredSize(new Dimension(206, 80));
        Top.setHorizontalAlignment(SwingConstants.CENTER);
        Top.setHorizontalTextPosition(SwingConstants.CENTER);
        Top.setText("User Login");
        Password.setText("");
        Password.setPreferredSize(new Dimension(150, 21));
        user = UserName.getText();
        pass = Password.getPassword().toString();
        getContentPane().add(panel1);
        panel1.add(Top, BorderLayout.NORTH);
        panel1.add(south, BorderLayout.SOUTH);
        panel1.add(center,BorderLayout.CENTER);
        userpane.add(User_Label,null);
        userpane.add(UserName, null);
        passpane.add(Pass_Label, null);
        passpane.add(Password, null);
        center.add(userpane, null);
        center.add(passpane, null);
        south.add(Login_But, null);
        south.add(Cancel_But, null);
      void onCancel(ActionEvent e) {
          System.exit(0);
      void UserLogin(ActionEvent e) {
      Connection con;
      try{
       Class.forName("com.mysql.jdbc.Driver");
      catch (Exception se){
      se.printStackTrace();
      try{
       con = DriverManager.getConnection("jdbc:mysql://localhost/test?user="+user+"&password="+pass);
       System.out.println(con.toString());
       catch (Exception se){
        se.printStackTrace();
       this.setVisible(false);
    }and here is the last class
    SalesFrm.java
    package gsales;
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import java.awt.event.*;
    import java.util.Date;
    import java.text.SimpleDateFormat;
    import java.sql.SQLException;
    public class SalesFrm extends JFrame {
      SimpleDateFormat DMY = new SimpleDateFormat("dd-MM-yyyy");
      JLabel TopLabel = new JLabel();
      JLabel DatLabel = new JLabel();
      JLabel NumLabel = new JLabel();
      JLabel DescLabel = new JLabel();
      JLabel AmntLabel = new JLabel();
      JLabel QtyLabel = new JLabel();
      JLabel PricLabel = new JLabel();
      JLabel NoItmLabel = new JLabel();
      JLabel TotalLabel = new JLabel();
      GridLayout grd = new GridLayout(7,1);
      Container myPane;
      Panel NorthPane = new Panel();
      Panel CenterPane = new Panel();
      Panel EastPane = new Panel();
      Panel SouthPane = new Panel();
      BorderLayout brdr = new BorderLayout();
      //Make the TextFields Public
      public JTextField DateFld = new JTextField();
      public JTextField NoFld = new JTextField();
      public JTextField Desc1 = new JTextField();
      public JTextField Desc2 = new JTextField();
      public JTextField Desc3 = new JTextField();
      public JTextField Desc4 = new JTextField();
      public JTextField Desc5 = new JTextField();
      public JTextField Desc6 = new JTextField();
      public JTextField Qty1 = new JTextField();
      public JTextField Qty2 = new JTextField();
      public JTextField Qty3 = new JTextField();
      public JTextField Qty4 = new JTextField();
      public JTextField Qty5 = new JTextField();
      public JTextField Qty6 = new JTextField();
      public JTextField Amount1 = new JTextField();
      public JTextField Amount2 = new JTextField();
      public JTextField Amount3 = new JTextField();
      public JTextField Amount4 = new JTextField();
      public JTextField Amount5 = new JTextField();
      public JTextField Amount6 = new JTextField();
      public JTextField Pric1 = new JTextField();
      public JTextField Pric2 = new JTextField();
      public JTextField Pric3 = new JTextField();
      public JTextField Pric4 = new JTextField();
      public JTextField Pric5 = new JTextField();
      public JTextField Pric6 = new JTextField();
      public JTextField TotalAmt = new JTextField();
      public JLabel StatusBar = new JLabel();
      public JLabel InfoBar = new JLabel();
      public Choice NoItm = new Choice();
      FlowLayout flowLayout1 = new FlowLayout();
      JButton OKbutton = new JButton();
      Border border1;
      JButton Canbutton = new JButton();
      TitledBorder titledBorder1;
      TitledBorder titledBorder2;
    public SalesFrm() {
        try {
               jbInit();
        catch(Exception e) {
          e.printStackTrace();
      public static void main(String[] args) {
       Login_Dialog login = new Login_Dialog();
        SalesFrm sale1 = new SalesFrm();
       login.setVisible(true);
        if (login.setVisible(false))
               sale1.setVisible(true);
        //sale1.setVisible(true);
      private void jbInit() throws Exception {
      //Initialize The Main Container
        myPane = this.getContentPane();
        border1 = BorderFactory.createBevelBorder(BevelBorder.RAISED,Color.lightGray,Color.white,Color.gray,Color.lightGray);
        titledBorder1 = new TitledBorder("");
        titledBorder2 = new TitledBorder("");
        this.setDefaultCloseOperation(3);
        this.setSize(new Dimension(753, 437));
        this.setTitle("<<NetWare>>  General Sales");
      //TopLabel Settings
        TopLabel.setFont(new java.awt.Font("SansSerif", 1, 20));
        TopLabel.setForeground(Color.red);
        TopLabel.setOpaque(true);
        TopLabel.setHorizontalAlignment(SwingConstants.CENTER);
        TopLabel.setHorizontalTextPosition(SwingConstants.CENTER);
        TopLabel.setText("General Sales");
      //Other Labels
       DatLabel.setText("Date: ");
       NumLabel.setText("Invoice No: ");
       QtyLabel.setText("Quantity:");
       DescLabel.setText("Description:");
       AmntLabel.setText("Amount:");
       PricLabel.setText("Price:");
       NoItmLabel.setText("No. of Items:");
       TotalLabel.setText("Total Amount: ");
       QtyLabel.setHorizontalAlignment(SwingConstants.CENTER);
       QtyLabel.setHorizontalTextPosition(SwingConstants.CENTER);
       DescLabel.setHorizontalAlignment(SwingConstants.CENTER);
       DescLabel.setHorizontalTextPosition(SwingConstants.CENTER);
       AmntLabel.setHorizontalAlignment(SwingConstants.CENTER);
       AmntLabel.setHorizontalTextPosition(SwingConstants.CENTER);
       PricLabel.setHorizontalAlignment(SwingConstants.CENTER);
       PricLabel.setHorizontalTextPosition(SwingConstants.CENTER);
       TotalLabel.setHorizontalAlignment(SwingConstants.CENTER);
       TotalLabel.setHorizontalTextPosition(SwingConstants.CENTER);
       //Status and Info
       StatusBar.setText("Status Bar");
       InfoBar.setBorder(titledBorder2);
        InfoBar.setMaximumSize(new Dimension(500, 29));
        InfoBar.setPreferredSize(new Dimension(210, 29));
        InfoBar.setText("Info Bar");
      //Descn
        Desc1.setNextFocusableComponent(Qty1);
        Desc1.setPreferredSize(new Dimension(160, 21));
        Desc2.setNextFocusableComponent(Qty2);
        Desc2.setPreferredSize(new Dimension(160, 21));
        Desc3.setNextFocusableComponent(Qty3);
        Desc3.setPreferredSize(new Dimension(160, 21));
        Desc4.setNextFocusableComponent(Qty4);
        Desc4.setPreferredSize(new Dimension(160, 21));
        Desc5.setNextFocusableComponent(Qty5);
        Desc5.setPreferredSize(new Dimension(160, 21));
        Desc6.setNextFocusableComponent(Qty6);
        Desc6.setPreferredSize(new Dimension(160, 21));
        //Qtyn
        Qty1.setNextFocusableComponent(Pric1);
        Qty1.setPreferredSize(new Dimension(80, 21));
        Qty1.setHorizontalAlignment(SwingConstants.RIGHT);
        Qty2.setNextFocusableComponent(Pric2);
        Qty2.setPreferredSize(new Dimension(80, 21));
        Qty2.setHorizontalAlignment(SwingConstants.RIGHT);
        Qty3.setNextFocusableComponent(Pric3);
        Qty3.setPreferredSize(new Dimension(80, 21));
        Qty3.setHorizontalAlignment(SwingConstants.RIGHT);
        Qty4.setNextFocusableComponent(Pric4);
        Qty4.setPreferredSize(new Dimension(80, 21));
        Qty4.setHorizontalAlignment(SwingConstants.RIGHT);
        Qty5.setNextFocusableComponent(Pric5);
        Qty5.setPreferredSize(new Dimension(80, 21));
        Qty5.setHorizontalAlignment(SwingConstants.RIGHT);
        Qty6.setNextFocusableComponent(Pric6);
        Qty6.setPreferredSize(new Dimension(80, 21));
        Qty6.setHorizontalAlignment(SwingConstants.RIGHT);
        //Amountn
        Amount1.setNextFocusableComponent(Desc2);
        Amount1.setPreferredSize(new Dimension(105, 21));
        Amount1.setHorizontalAlignment(SwingConstants.RIGHT);
        Amount2.setNextFocusableComponent(Desc3);
        Amount2.setPreferredSize(new Dimension(105, 21));
        Amount2.setHorizontalAlignment(SwingConstants.RIGHT);
        Amount3.setNextFocusableComponent(Desc4);
        Amount3.setPreferredSize(new Dimension(105, 21));
        Amount3.setHorizontalAlignment(SwingConstants.RIGHT);
        Amount4.setNextFocusableComponent(Desc5);
        Amount4.setPreferredSize(new Dimension(105, 21));
        Amount4.setHorizontalAlignment(SwingConstants.RIGHT);
        Amount5.setNextFocusableComponent(Desc6);
        Amount5.setPreferredSize(new Dimension(105, 21));
        Amount5.setHorizontalAlignment(SwingConstants.RIGHT);
        Amount6.setPreferredSize(new Dimension(105, 21));
        Amount6.setHorizontalAlignment(SwingConstants.RIGHT);
        //Pricn
        Pric1.setNextFocusableComponent(Amount1);
        Pric1.setPreferredSize(new Dimension(80, 21));
        Pric1.setHorizontalAlignment(SwingConstants.RIGHT);
        Pric2.setNextFocusableComponent(Amount2);
        Pric2.setPreferredSize(new Dimension(80, 21));
        Pric2.setHorizontalAlignment(SwingConstants.RIGHT);
        Pric3.setNextFocusableComponent(Amount3);
        Pric3.setPreferredSize(new Dimension(80, 21));
        Pric3.setHorizontalAlignment(SwingConstants.RIGHT);
        Pric4.setNextFocusableComponent(Amount4);
        Pric4.setPreferredSize(new Dimension(80, 21));
        Pric4.setHorizontalAlignment(SwingConstants.RIGHT);
        Pric5.setNextFocusableComponent(Amount5);
        Pric5.setPreferredSize(new Dimension(80, 21));
        Pric5.setHorizontalAlignment(SwingConstants.RIGHT);
        Pric6.setNextFocusableComponent(Amount6);
        Pric6.setPreferredSize(new Dimension(80, 21));
        Pric6.setHorizontalAlignment(SwingConstants.RIGHT);
      //DateFld
        DateFld.setFont(new java.awt.Font("SansSerif", 1, 12));
        DateFld.setMinimumSize(new Dimension(60, 21));
        DateFld.setPreferredSize(new Dimension(80, 21));
        DateFld.setHorizontalAlignment(SwingConstants.RIGHT);
        Date dt = new Date();
        String date = DMY.format(dt);
        DateFld.setText(date);
        //NoFld
        NoFld.setFont(new java.awt.Font("SansSerif", 1, 12));
        NoFld.setMinimumSize(new Dimension(60, 21));
        NoFld.setPreferredSize(new Dimension(80, 21));
        NoFld.setText("Number");
        NoFld.setHorizontalAlignment(SwingConstants.RIGHT);
      //NorthPane Settings
        NorthPane.setLayout(brdr);
        Panel in1 = new Panel();
        Panel in2 = new Panel();
        Panel NSPane = new Panel();
        OKbutton.setFont(new java.awt.Font("Dialog", 0, 18));
        OKbutton.setBorder(BorderFactory.createRaisedBevelBorder());
        OKbutton.setMaximumSize(new Dimension(100, 60));
        OKbutton.setPreferredSize(new Dimension(90, 32));
        OKbutton.setActionCommand("OK");
        OKbutton.setText("OK");
        Canbutton.setFont(new java.awt.Font("Dialog", 0, 18));
        Canbutton.setBorder(BorderFactory.createRaisedBevelBorder());
        Canbutton.setMaximumSize(new Dimension(100, 50));
        Canbutton.setPreferredSize(new Dimension(90, 32));
        Canbutton.setText("Cancel");
        StatusBar.setBorder(titledBorder1);
        StatusBar.setMaximumSize(new Dimension(800, 29));
        StatusBar.setPreferredSize(new Dimension(400, 29));
        TotalAmt.setHorizontalAlignment(SwingConstants.RIGHT);
        NoItm.addItemListener(new java.awt.event.ItemListener() {
          public void itemStateChanged(ItemEvent e) {
            ItemSelect(e);
        NorthPane.add(TopLabel,BorderLayout.CENTER);
        in1.add(DatLabel);
        in1.add(DateFld);
        in2.add(NumLabel);
        in2.add(NoFld);
        NSPane.add(in2, BorderLayout.WEST);
        NSPane.add(in1, BorderLayout.EAST);
        NorthPane.add(NSPane, BorderLayout.SOUTH);
      //CenterPane Settings
        Panel DescPane = new Panel();
        Panel amntPane = new Panel();
        Panel QtyPane = new Panel();
        Panel PricPane = new Panel();
        DescPane.setLayout(grd);
        QtyPane.setLayout(grd);
        amntPane.setLayout(grd);
        PricPane.setLayout(grd);
        DescPane.add(DescLabel, null);
        DescPane.add(Desc1, null);
        DescPane.add(Desc2, null);
        DescPane.add(Desc3, null);
        DescPane.add(Desc4, null);
        DescPane.add(Desc5, null);
        DescPane.add(Desc6, null);
        QtyPane.add(QtyLabel, null);
        QtyPane.add(Qty1, null);
        QtyPane.add(Qty2, null);
        QtyPane.add(Qty3, null);
        QtyPane.add(Qty4, null);
        QtyPane.add(Qty5, null);
        QtyPane.add(Qty6, null);
        PricPane.add(PricLabel,null);
        PricPane.add(Pric1,null);
        PricPane.add(Pric2,null);
        PricPane.add(Pric3,null);
        PricPane.add(Pric4,null);
        PricPane.add(Pric5,null);
        PricPane.add(Pric6,null);
        amntPane.add(AmntLabel,null);
        amntPane.add(Amount1, null);
        amntPane.add(Amount2, null);
        amntPane.add(Amount3, null);
        amntPane.add(Amount4, null);
        amntPane.add(Amount5, null);
        amntPane.add(Amount6, null);
        CenterPane.add(DescPane);
        CenterPane.add(QtyPane);
        CenterPane.add(PricPane);
        CenterPane.add(amntPane);
       //EastPane Settings
       EastPane.setLayout(new BorderLayout());
       //JLabel empty = new JLabel();
       Panel NoItmPane = new Panel();
       Panel TotPane = new Panel();
       NoItmPane.setLayout(flowLayout1);
       NoItm.addItem("1");
       NoItm.addItem("2");
       NoItm.addItem("3");
       NoItm.addItem("4");
       NoItm.addItem("5");
       NoItm.addItem("6");
       NoItm.setSize(new Dimension(20 , 21));
       NoItm.select(5);
       TotalAmt.setPreferredSize(new Dimension(120, 21));
       NoItmPane.add(NoItmLabel);
       NoItmPane.add(NoItm);
       EastPane.add(NoItmPane, BorderLayout.NORTH);
       TotPane.add(TotalLabel);
       TotPane.add(TotalAmt);
       EastPane.add(TotPane, BorderLayout.SOUTH);
       //SouthPane Settings
       SouthPane.setLayout(new BorderLayout());
       GridLayout grd1 = new GridLayout(2, 1);
       Panel butPane = new Panel();
       Panel StatPane = new Panel();
       StatPane.add(StatusBar);
       StatPane.add(InfoBar);
       butPane.setLayout(grd1);
       SouthPane.add(butPane, BorderLayout.EAST);
        butPane.add(OKbutton);
        butPane.add(Canbutton);
       SouthPane.add(StatPane, BorderLayout.SOUTH);
         //Add all into the main Container
        myPane.add(NorthPane, BorderLayout.NORTH);
        myPane.add(EastPane, BorderLayout.EAST);
        myPane.add(CenterPane, BorderLayout.CENTER);
        myPane.add(SouthPane, BorderLayout.SOUTH);
        //ItemSelect
      void ItemSelect(ItemEvent e) {
        String getItm;
        getItm =(String) e.getItem();
        int Itm = Integer.parseInt(getItm);
        switch (Itm) {
        case 1 : Desc2.setVisible(false);
                 Desc3.setVisible(false);
                 Desc4.setVisible(false);
                 Desc5.setVisible(false);
                 Desc6.setVisible(false);
                 Qty2.setVisible(false);
                 Qty3.setVisible(false);
                 Qty4.setVisible(false);
                 Qty5.setVisible(false);
                 Qty6.setVisible(false);
                 Pric2.setVisible(false);
                 Pric3.setVisible(false);
                 Pric4.setVisible(false);
                 Pric5.setVisible(false);
                 Pric6.setVisible(false);
                 Amount2.setVisible(false);
                 Amount3.setVisible(false);
                 Amount4.setVisible(false);
                 Amount5.setVisible(false);
                 Amount6.setVisible(false);
                 break;
        case 2 : Desc2.setVisible(true);
                 Desc3.setVisible(false);
                 Desc4.setVisible(false);
                 Desc5.setVisible(false);
                 Desc6.setVisible(false);
                 Qty2.setVisible(true);
                 Qty3.setVisible(false);
                 Qty4.setVisible(false);
                 Qty5.setVisible(false);
                 Qty6.setVisible(false);
                 Pric2.setVisible(true);
                 Pric3.setVisible(false);
                 Pric4.setVisible(false);
                 Pric5.setVisible(false);
                 Pric6.setVisible(false);
                 Amount2.setVisible(true);
                 Amount3.setVisible(false);
                 Amount4.setVisible(false);
                 Amount5.setVisible(false);
                 Amount6.setVisible(false);
                 break;
        case 3 : Desc2.setVisible(true);
                 Desc3.setVisible(true);
                 Desc4.setVisible(false);
                 Desc5.setVisible(false);
                 Desc6.setVisible(false);
                 Qty2.setVisible(true);
                 Qty3.setVisible(true);
                 Qty4.setVisible(false);
                 Qty5.setVisible(false);
                 Qty6.setVisible(false);
                 Pric2.setVisible(true);
                 Pric3.setVisible(true);
                 Pric4.setVisible(false);
                 Pric5.setVisible(false);
                 Pric6.setVisible(false);
                 Amount2.setVisible(true);
                 Amount3.setVisible(true);
                 Amount4.setVisible(false);
                 Amount5.setVisible(false);
                 Amount6.setVisible(false);
                 break;
        case 4 : Desc2.setVisible(true);
                 Desc3.setVisible(true);
                 Desc4.setVisible(true);
                 Desc5.setVisible(false);
                 Desc6.setVisible(false);
                 Qty2.setVisible(true);
                 Qty3.setVisible(true);
                 Qty4.setVisible(true);
                 Qty5.setVisible(false);
                 Qty6.setVisible(false);
                 Pric2.setVisible(true);
                 Pric3.setVisible(true);
                 Pric4.setVisible(true);
                 Pric5.setVisible(false);
                 Pric6.setVisible(false);
                 Amount2.setVisible(true);
                 Amount3.setVisible(true);
                 Amount4.setVisible(true);
                 Amount5.setVisible(false);
                 Amount6.setVisible(false);
                 break;
        case 5 : Desc2.setVisible(true);
                 Desc3.setVisible(true);
                 Desc4.setVisible(true);
                 Desc5.setVisible(true);
                 Desc6.setVisible(false);
                 Qty2.setVisible(true);
                 Qty3.setVisible(true);
                 Qty4.setVisible(true);
                 Qty5.setVisible(true);
                 Qty6.setVisible(false);
                 Pric2.setVisible(true);
                 Pric3.setVisible(true);
                 Pric4.setVisible(true);
                 Pric5.setVisible(true);
                 Pric6.setVisible(false);
                 Amount2.setVisible(true);
                 Amount3.setVisible(true);
                 Amount4.setVisible(true);
                 Amount5.setVisible(true);
                 Amount6.setVisible(false);
                 break;
        case 6 : Desc2.setVisible(true);
                 Desc3.setVisible(true);
                 Desc4.setVisible(true);
                 Desc5.setVisible(true);
                 Desc6.setVisible(true);
                 Qty2.setVisible(true);
                 Qty3.setVisible(true);
                 Qty4.setVisible(true);
                 Qty5.setVisible(true);
                 Qty6.setVisible(true);
                 Pric2.setVisible(true);
                 Pric3.setVisible(true);
                 Pric4.setVisible(true);
                 Pric5.setVisible(true);
                 Pric6.setVisible(true);
                 Amount2.setVisible(true);
                 Amount3.setVisible(true);
                 Amount4.setVisible(true);
                 Amount5.setVisible(true);
                 Amount6.setVisible(true);
                 break;
    }

  • How to use Unicode font in a AWT compoment?

    Dear,
    I am a new on Java.
    I want to use Unicode font in AWT/Swing but I cannot.
    I use JDK 1.4.1 & JBuilder 7.0.
    Please help me.
    Thanks,
    Cuong Ha.

    http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=2&t=001235
    http://www.linuxforum.net/chinese/develop/java.html
    Hope its of help to you.

  • TitleBorder - Default Font Title = Blue - Need to change to BLACK.

    Hello,
    I have a menu with several Title Borders, The titles however area appearing in Blue, which i have not set,
    I need to change this back to black but i am unable to do so.
    Has anyone else had this problem or know how to solve it?
    I am using Borland Jbuilder, not sure if that is relevant.
    package rmitest;
    import java.awt.Dimension;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import com.borland.jbcl.layout.XYLayout;
    import com.borland.jbcl.layout.*;
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.border.Border;
    import DateTimeBean.DateTimeBean;
    import javax.swing.border.TitledBorder;
    import javax.swing.border.EtchedBorder;
    import java.rmi.*;
    import java.rmi.Naming;
    import java.net.MalformedURLException;
    import java.rmi.NotBoundException;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.Calendar;
    import java.util.Date;
    import java.sql.SQLException;
    import java.util.Vector;
    public class Menu extends JFrame implements ActionListener {
        JPanel contentPane;
        JTextArea jTextAreaTime = new JTextArea(3,10);
        Border border1 = BorderFactory.createEtchedBorder(EtchedBorder.RAISED,
          Color.white, new Color(156, 156, 158));
        private final int DELAY = 1000;
        static DateTimeBean dateTimeBean;
        JPanel jPanel1 = new JPanel();
       // TitledBorder titledBorder1 = new TitledBorder("");
        Border border2 = new TitledBorder(border1, "");
        Border border3 = new TitledBorder(border2, "Buttons");
        JPanel jPanel2 = new JPanel();
        TitledBorder titledBorder2 = new TitledBorder("");
        Border border4 = BorderFactory.createEtchedBorder(Color.white,
                new Color(156, 156, 158));
        Border border5 = new TitledBorder(border4, "Info");
        JPanel jPanel3 = new JPanel();
        Border border6 = BorderFactory.createEtchedBorder(Color.white,
                new Color(156, 156, 158));
        Border border7 = new TitledBorder(border6, "More Buttons");
        Border border8 = BorderFactory.createMatteBorder(6, 6, 6, 6, Color.black);
        Border border9 = BorderFactory.createLineBorder(Color.black, 2);
        JTextArea jTextArea1 = new JTextArea();
        Border border10 = BorderFactory.createLineBorder(Color.black, 2);
        JPanel jPanel4 = new JPanel();
        Border border11 = BorderFactory.createLineBorder(SystemColor.controlText, 2);
        Border border12 = new TitledBorder(border11, "Shit");
        Border border13 = BorderFactory.createLineBorder(SystemColor.controlText, 2);
        Border border14 = new TitledBorder(border13, "Other Shit");
        Border border15 = BorderFactory.createEtchedBorder(EtchedBorder.RAISED,
                Color.white, new Color(156, 156, 158));
        Border border16 = new TitledBorder(border15, "Other Shit");
        Border border17 = BorderFactory.createEtchedBorder(EtchedBorder.RAISED,
                Color.white, new Color(156, 156, 158));
        Border border18 = new TitledBorder(border17, "Shit");
        Border border19 = BorderFactory.createLineBorder(Color.BLACK, 1);
        TitledBorder titledBorder3 = new TitledBorder("");
        Border border20 = BorderFactory.createEtchedBorder(Color.white,
                new Color(156, 156, 158));
        Border border21 = new TitledBorder(border20, "TEXT");
        XYLayout xYLayout1 = new XYLayout();
        JScrollPane jScrollPane1 = new JScrollPane();
        Border border22 = BorderFactory.createEtchedBorder(EtchedBorder.RAISED,
                Color.white, new Color(156, 156, 158));
        Border border23 = new TitledBorder(border22, "Action Log");
        JScrollPane jScrollPane2 = new JScrollPane();
        Border border24 = BorderFactory.createEtchedBorder(EtchedBorder.RAISED,
                Color.white, new Color(156, 156, 158));
        Border border25 = new TitledBorder(border24, "Data");
        JButton jButton1 = new JButton();
        Icon exitButton = new ImageIcon("exit.JPG");
        Calendar clientCal = Calendar.getInstance();
        Iserver s;
        JButton jButton2 = new JButton();
        JButton jButton3 = new JButton();
        JButton jButton4 = new JButton();
        JButton jButton5 = new JButton();
        javax.swing.JTextArea jTextArea3 = new JTextArea();
        javax.swing.JTextArea jTextArea2 = new JTextArea();
        public Vector<Object> contents;
        javax.swing.JRadioButton jRadioButton1 = new JRadioButton();
        javax.swing.JRadioButton jRadioButton2 = new JRadioButton();
        XYLayout xYLayout2 = new XYLayout();
        Border border26 = javax.swing.BorderFactory.createEtchedBorder(Color.white,
          new Color(156, 156, 158));
        Border border27 = new TitledBorder(border26, "View Auctions");
        XYLayout xYLayout3 = new XYLayout();
      XYLayout xYLayout4 = new XYLayout();
      javax.swing.JLabel jLabel1 = new JLabel();
      Border border28 = javax.swing.BorderFactory.createEtchedBorder(Color.white,
          new Color(156, 156, 158));
      Border border29 = new TitledBorder(border28, "Create Auction");
      javax.swing.JRadioButton jRadioButton3 = new JRadioButton();
      javax.swing.JRadioButton jRadioButton4 = new JRadioButton();
      javax.swing.JLabel jLabel2 = new JLabel();
      javax.swing.JTextField jTextField1 = new JTextField();
      javax.swing.JTextArea jTextArea4 = new JTextArea();
      javax.swing.JLabel jLabel3 = new JLabel();
      javax.swing.JTextField jTextField2 = new JTextField();
      javax.swing.JTextField jTextField3 = new JTextField();
      javax.swing.JTextField jTextField4 = new JTextField();
      javax.swing.JLabel jLabel4 = new JLabel();
      javax.swing.JLabel jLabel5 = new JLabel();
      javax.swing.JLabel jLabel6 = new JLabel();
      javax.swing.JButton jButton6 = new JButton();
      Border border30 = javax.swing.BorderFactory.createLineBorder(Color.white, 2);
      Border border31 = javax.swing.BorderFactory.createLineBorder(Color.lightGray,
          2);
      Border border32 = javax.swing.BorderFactory.createLineBorder(SystemColor.
          inactiveCaptionText, 2);
      Border border33 = javax.swing.BorderFactory.createLineBorder(new Color(156, 156, 158), 2);
      Border border34 = javax.swing.BorderFactory.createLineBorder(new Color(156, 156, 158), 2);
      Border border35 = javax.swing.BorderFactory.createLineBorder(new Color(156, 156, 158), 2);
      Border border36 = javax.swing.BorderFactory.createEtchedBorder(EtchedBorder.
          RAISED, Color.white, new Color(156, 156, 158));
      Border border37 = new TitledBorder(border36, "Action Log");
      Border border38 = javax.swing.BorderFactory.createEtchedBorder(Color.white,
          new Color(156, 156, 158));
      Border border39 = new TitledBorder(border38, "Info");
      Border border40 = javax.swing.BorderFactory.createEtchedBorder(Color.white,
          new Color(156, 156, 158));
      Border border41 = javax.swing.BorderFactory.createEtchedBorder(Color.white,
          new Color(156, 156, 158));
      Border border43 = javax.swing.BorderFactory.createEtchedBorder(Color.white,
          new Color(156, 156, 158));
      Border border44 = new TitledBorder(border43, "Bid On An Auction");
      Border border42 = javax.swing.BorderFactory.createEtchedBorder(EtchedBorder.
          RAISED, Color.white, new Color(156, 156, 158));
      Border border45 = new TitledBorder(border42, "tyeryry");
      public Menu()
            super() ;
            enableEvents(AWTEvent.WINDOW_EVENT_MASK);
            dateTimeBean = new DateTimeBean();
            Timer timer = new Timer(DELAY, this);
            timer.start();
            try {
                setDefaultCloseOperation(EXIT_ON_CLOSE);
                setContentPane( new MyPanel() ) ;
                setSize( 1000 , 700 );
                setVisible( true );
                jbInit();
              } catch (Exception exception)
                exception.printStackTrace();
        private void jbInit() throws Exception {
            this.setForeground(Color.lightGray);
            this.setResizable(false);
            setTitle("Assignment - Bidding System");
            jTextAreaTime.setFont(new java.awt.Font("Dialog", Font.BOLD, 12));
            jTextAreaTime.setBorder(border1);
            jTextAreaTime.setOpaque(true);
            jTextAreaTime.setEditable(false);
            contentPane = (JPanel) getContentPane();
            contentPane.setSize(new Dimension(1000, 700));
            contentPane.setLayout(xYLayout1);
            contentPane.setBackground(Color.white);
            contentPane.setEnabled(true);
            contentPane.setDoubleBuffered(false);
            contentPane.setMinimumSize(new Dimension(1000, 700));
            contentPane.setOpaque(true);
            contentPane.setPreferredSize(new Dimension(1000, 700));
            jPanel1.setBorder(border29);
        jPanel1.setLayout(xYLayout4);
        jPanel2.setFont(new java.awt.Font("Arial Black", Font.PLAIN, 11));
        jPanel2.setBorder(border44);
            jPanel2.setLayout(xYLayout3);
        jPanel3.setFont(new java.awt.Font("Dialog", Font.BOLD, 12));
        jPanel3.setBorder(border27);
            jPanel3.setLayout(xYLayout2);
            jTextArea1.setBorder(BorderFactory.createLineBorder(Color.black));
            jTextArea1.setText("");
            jTextArea1.setEditable(false);
        jScrollPane1.setBorder(border37);
        jScrollPane1.setOpaque(false);
            jScrollPane2.setBorder(border25);
            jScrollPane2.setOpaque(false);
            jButton1.setForeground(Color.black);
            jButton1.setRolloverIcon(null);
            jButton1.setIcon(exitButton);
            jButton1.setText("Exit");
            jButton1.addActionListener(new Menu_jButton1_actionAdapter(this));
            jButton2.setText("jButton2");
            jButton3.setText("jButton3");
            jButton4.setText("jButton4");
            jTextArea3.setEditable(false);
            jTextArea3.setText("");
            jTextArea2.setToolTipText("");
        jTextArea2.setEditable(false);
        jTextArea2.setText("");
            jButton5.setText("Go");
            jButton5.setVisible(true);
            ButtonGroup RadioGroupView = new ButtonGroup();
            ButtonGroup RadioGroupCreate = new ButtonGroup();
        jLabel1.setText("Auction Type:");
        jRadioButton3.setText("English");
        jRadioButton4.setText("Vickrey");
        jRadioButton3.setOpaque(false);
        jRadioButton4.setOpaque(false);
        jTextArea4.setBorder(border35);
        jButton6.addActionListener(new Menu_jButton6_actionAdapter(this));
        RadioGroupCreate.add(jRadioButton3);
        RadioGroupCreate.add(jRadioButton4);
        jLabel2.setText("Item Name:");
        jTextField1.addActionListener(new Menu_jTextField1_actionAdapter(this));
        jLabel3.setText("Description:");
        jLabel4.setText("Reserve Price");
        jLabel5.setText("Buy Out");
        jLabel6.setText("Start Price");
        jButton6.setText("Create");
        RadioGroupView.add(jRadioButton1);
            RadioGroupView.add(jRadioButton2);
            jButton5.setToolTipText("");
            jRadioButton1.setOpaque(false);
            jRadioButton1.setToolTipText("");
            jRadioButton1.setText("View All Auctions");
            jRadioButton1.addActionListener(new Menu_jRadioButton1_actionAdapter(this));
            jRadioButton2.setOpaque(false);
            jRadioButton2.setText("View Auction");
        jPanel1.setOpaque(false);
            jPanel2.setOpaque(false);
            jPanel3.setOpaque(false);
        jPanel1.add(jLabel1, new XYConstraints(9, 6, -1, -1));
        jPanel1.add(jLabel2, new XYConstraints(9, 26, -1, -1));
        contentPane.add(jTextAreaTime, new XYConstraints(23, 599, 82, 56));
            contentPane.add(jButton1, new XYConstraints(820, 606, 96, 39));
            contentPane.add(jButton2, new XYConstraints(168, 606, 89, 40));
            contentPane.add(jButton3, new XYConstraints(275, 606, 96, 42));
            contentPane.add(jButton4, new XYConstraints(396, 606, 94, 45));
            jPanel3.add(jRadioButton2, new XYConstraints(9, 24, -1, -1));
            jPanel3.add(jButton5, new XYConstraints(177, 110, -1, -1));
            jPanel3.add(jRadioButton1, new XYConstraints(9, 0, -1, -1));
        jPanel1.add(jTextField1, new XYConstraints(85, 26, 118, -1));
        jPanel1.add(jRadioButton3, new XYConstraints(81, 0, -1, -1));
        jPanel1.add(jRadioButton4, new XYConstraints(144, 0, -1, -1));
        jPanel1.add(jLabel3, new XYConstraints(9, 50, -1, -1));
        jPanel1.add(jTextArea4, new XYConstraints(86, 53, 116, 50));
        jPanel1.add(jButton6, new XYConstraints(308, 107, 102, 22));
        jPanel1.add(jTextField2, new XYConstraints(361, 30, 50, 15));
        jPanel1.add(jTextField3, new XYConstraints(361, 55, 50, 15));
        jPanel1.add(jTextField4, new XYConstraints(361, 79, 50, 15));
        jPanel1.add(jLabel6, new XYConstraints(284, 80, -1, -1));
        jPanel1.add(jLabel4, new XYConstraints(266, 29, -1, -1));
        jPanel1.add(jLabel5, new XYConstraints(296, 56, -1, -1));
        contentPane.add(jPanel1, new XYConstraints(15, 85, 451, 161));
        contentPane.add(jPanel3, new XYConstraints(735, 86, 241, 161));
        contentPane.add(jScrollPane1, new XYConstraints(24, 465, 950, 122));
        jScrollPane1.getViewport().add(jTextArea2);
        contentPane.add(jScrollPane2, new XYConstraints(22, 256, 951, 196));
        jScrollPane2.getViewport().add(jTextArea3);
        contentPane.add(jPanel2, new XYConstraints(478, 88, 245, 161));
        jButton2.setText("Client");
                    jButton2.addActionListener(new java.awt.event.ActionListener() {
             public void actionPerformed(ActionEvent e) {
                jButton2_actionPerformed(e);
          jButton3.setText("From");
                    jButton3.addActionListener(new java.awt.event.ActionListener() {
             public void actionPerformed(ActionEvent e) {
                jButton3_actionPerformed(e);
          jButton4.setText("Server");
                    jButton4.addActionListener(new java.awt.event.ActionListener() {
             public void actionPerformed(ActionEvent e) {
                jButton4_actionPerformed(e);
            jButton5.addActionListener(new java.awt.event.ActionListener() {
             public void actionPerformed(ActionEvent e) {
                try {
                  jButton5_actionPerformed(e);
                catch (ClassNotFoundException ex) {
                catch (RemoteException ex) {
                catch (SQLException ex) {
          try {
             s = (Iserver)Naming.lookup("rmi://192.168.0.3:1099/AuctionService");
          } catch(Exception ex) {
        protected void processWindowEvent(WindowEvent e) {
          super.processWindowEvent(e);
          if (e.getID() == WindowEvent.WINDOW_CLOSING) {
             System.exit(0);
        public void actionPerformed(ActionEvent e) {
           jTextAreaTime.setText("  "+dateTimeBean.getDayName()+"\n"+"  "+dateTimeBean.getDate()+"\n"+ "  "+dateTimeBean.getTime());
           repaint();
        public void jTextField1_actionPerformed(ActionEvent e) {
        public void jButton1_actionPerformed(ActionEvent e) {
            System.exit(0);
        public void jButton2_actionPerformed(ActionEvent e) {
            clientCal.setTime(new Date());
          int hour = clientCal.get(Calendar.HOUR_OF_DAY);
          int minute = clientCal.get(Calendar.MINUTE);
          int secs = clientCal.get(Calendar.SECOND);
          String time = hour + ":" + minute + "." + secs;
                    try {
                            s.setClientTime(time);
                    } catch(java.rmi.RemoteException re) {
        public void jButton3_actionPerformed(ActionEvent e) {
            try {jTextArea2.append(s.getTime() + "\n");
            } catch(java.rmi.RemoteException re) {
        public void jButton4_actionPerformed(ActionEvent e) {
            try {
                            s.setServerTime();
                    } catch(java.rmi.RemoteException re) {
      //Set Image as Background
    public class MyPanel extends JPanel {
                  private Image img ;
                  public MyPanel() {
                          //setLayout( new BorderLayout() ) ;
                          setSize(1000, 700);
                          img = new ImageIcon("test.jpg" ).getImage() ;
                  public void drawBackground( Graphics g ) {
                          int w = getWidth() ;
                          int h = getHeight() ;
                          int iw = img.getWidth( this ) ;
                          int ih = img.getHeight( this ) ;
                          for( int i = 0 ; i < w ; i+=iw ) {
                                  for( int j = 0 ; j < h ; j+= ih ) {
                                          g.drawImage( img , i , j , this ) ;
                  protected void paintComponent(Graphics g) {
                          super.paintComponent(g);
                          drawBackground( g ) ;
    }

    esistsehrkalt wrote:
    Hello,
    I have a menu with several Title Borders, The titles however area appearing in Blue, which i have not set,
    I need to change this back to black but i am unable to do so.
    Has anyone else had this problem or know how to solve it?
    I am using Borland Jbuilder, not sure if that is relevant.
    package rmitest;
    import java.awt.Dimension;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import com.borland.jbcl.layout.XYLayout;
    import com.borland.jbcl.layout.*;
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.border.Border;
    import DateTimeBean.DateTimeBean;
    import javax.swing.border.TitledBorder;
    import javax.swing.border.EtchedBorder;
    import java.rmi.*;
    import java.rmi.Naming;
    import java.net.MalformedURLException;
    import java.rmi.NotBoundException;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.Calendar;
    import java.util.Date;
    import java.sql.SQLException;
    import java.util.Vector;
    public class Menu extends JFrame implements ActionListener {
    JPanel contentPane;
    JTextArea jTextAreaTime = new JTextArea(3,10);
    Border border1 = BorderFactory.createEtchedBorder(EtchedBorder.RAISED,
    Color.white, new Color(156, 156, 158));
    private final int DELAY = 1000;
    static DateTimeBean dateTimeBean;
    JPanel jPanel1 = new JPanel();
    // TitledBorder titledBorder1 = new TitledBorder("");
    Border border2 = new TitledBorder(border1, "");
    Border border3 = new TitledBorder(border2, "Buttons");
    JPanel jPanel2 = new JPanel();
    TitledBorder titledBorder2 = new TitledBorder("");
    Border border4 = BorderFactory.createEtchedBorder(Color.white,
    new Color(156, 156, 158));
    Border border5 = new TitledBorder(border4, "Info");
    JPanel jPanel3 = new JPanel();
    Border border6 = BorderFactory.createEtchedBorder(Color.white,
    new Color(156, 156, 158));
    Border border7 = new TitledBorder(border6, "More Buttons");
    Border border8 = BorderFactory.createMatteBorder(6, 6, 6, 6, Color.black);
    Border border9 = BorderFactory.createLineBorder(Color.black, 2);
    JTextArea jTextArea1 = new JTextArea();
    Border border10 = BorderFactory.createLineBorder(Color.black, 2);
    JPanel jPanel4 = new JPanel();
    Border border11 = BorderFactory.createLineBorder(SystemColor.controlText, 2);
    Border border12 = new TitledBorder(border11, "Shit");
    Border border13 = BorderFactory.createLineBorder(SystemColor.controlText, 2);
    Border border14 = new TitledBorder(border13, "Other Shit");
    Border border15 = BorderFactory.createEtchedBorder(EtchedBorder.RAISED,
    Color.white, new Color(156, 156, 158));
    Border border16 = new TitledBorder(border15, "Other Shit");
    Border border17 = BorderFactory.createEtchedBorder(EtchedBorder.RAISED,
    Color.white, new Color(156, 156, 158));
    Border border18 = new TitledBorder(border17, "Shit");
    Border border19 = BorderFactory.createLineBorder(Color.BLACK, 1);
    TitledBorder titledBorder3 = new TitledBorder("");
    Border border20 = BorderFactory.createEtchedBorder(Color.white,
    new Color(156, 156, 158));
    Border border21 = new TitledBorder(border20, "TEXT");
    XYLayout xYLayout1 = new XYLayout();
    JScrollPane jScrollPane1 = new JScrollPane();
    Border border22 = BorderFactory.createEtchedBorder(EtchedBorder.RAISED,
    Color.white, new Color(156, 156, 158));
    Border border23 = new TitledBorder(border22, "Action Log");
    JScrollPane jScrollPane2 = new JScrollPane();
    Border border24 = BorderFactory.createEtchedBorder(EtchedBorder.RAISED,
    Color.white, new Color(156, 156, 158));
    Border border25 = new TitledBorder(border24, "Data");
    JButton jButton1 = new JButton();
    Icon exitButton = new ImageIcon("exit.JPG");
    Calendar clientCal = Calendar.getInstance();
    Iserver s;
    JButton jButton2 = new JButton();
    JButton jButton3 = new JButton();
    JButton jButton4 = new JButton();
    JButton jButton5 = new JButton();
    javax.swing.JTextArea jTextArea3 = new JTextArea();
    javax.swing.JTextArea jTextArea2 = new JTextArea();
    public Vector<Object> contents;
    javax.swing.JRadioButton jRadioButton1 = new JRadioButton();
    javax.swing.JRadioButton jRadioButton2 = new JRadioButton();
    XYLayout xYLayout2 = new XYLayout();
    Border border26 = javax.swing.BorderFactory.createEtchedBorder(Color.white,
    new Color(156, 156, 158));
    Border border27 = new TitledBorder(border26, "View Auctions");
    XYLayout xYLayout3 = new XYLayout();
    XYLayout xYLayout4 = new XYLayout();
    javax.swing.JLabel jLabel1 = new JLabel();
    Border border28 = javax.swing.BorderFactory.createEtchedBorder(Color.white,
    new Color(156, 156, 158));
    Border border29 = new TitledBorder(border28, "Create Auction");
    javax.swing.JRadioButton jRadioButton3 = new JRadioButton();
    javax.swing.JRadioButton jRadioButton4 = new JRadioButton();
    javax.swing.JLabel jLabel2 = new JLabel();
    javax.swing.JTextField jTextField1 = new JTextField();
    javax.swing.JTextArea jTextArea4 = new JTextArea();
    javax.swing.JLabel jLabel3 = new JLabel();
    javax.swing.JTextField jTextField2 = new JTextField();
    javax.swing.JTextField jTextField3 = new JTextField();
    javax.swing.JTextField jTextField4 = new JTextField();
    javax.swing.JLabel jLabel4 = new JLabel();
    javax.swing.JLabel jLabel5 = new JLabel();
    javax.swing.JLabel jLabel6 = new JLabel();
    javax.swing.JButton jButton6 = new JButton();
    Border border30 = javax.swing.BorderFactory.createLineBorder(Color.white, 2);
    Border border31 = javax.swing.BorderFactory.createLineBorder(Color.lightGray,
    2);
    Border border32 = javax.swing.BorderFactory.createLineBorder(SystemColor.
    inactiveCaptionText, 2);
    Border border33 = javax.swing.BorderFactory.createLineBorder(new Color(156, 156, 158), 2);
    Border border34 = javax.swing.BorderFactory.createLineBorder(new Color(156, 156, 158), 2);
    Border border35 = javax.swing.BorderFactory.createLineBorder(new Color(156, 156, 158), 2);
    Border border36 = javax.swing.BorderFactory.createEtchedBorder(EtchedBorder.
    RAISED, Color.white, new Color(156, 156, 158));
    Border border37 = new TitledBorder(border36, "Action Log");
    Border border38 = javax.swing.BorderFactory.createEtchedBorder(Color.white,
    new Color(156, 156, 158));
    Border border39 = new TitledBorder(border38, "Info");
    Border border40 = javax.swing.BorderFactory.createEtchedBorder(Color.white,
    new Color(156, 156, 158));
    Border border41 = javax.swing.BorderFactory.createEtchedBorder(Color.white,
    new Color(156, 156, 158));
    Border border43 = javax.swing.BorderFactory.createEtchedBorder(Color.white,
    new Color(156, 156, 158));
    Border border44 = new TitledBorder(border43, "Bid On An Auction");
    Border border42 = javax.swing.BorderFactory.createEtchedBorder(EtchedBorder.
    RAISED, Color.white, new Color(156, 156, 158));
    Border border45 = new TitledBorder(border42, "tyeryry");
    public Menu()
    super() ;
    enableEvents(AWTEvent.WINDOW_EVENT_MASK);
    dateTimeBean = new DateTimeBean();
    Timer timer = new Timer(DELAY, this);
    timer.start();
    try {
    setDefaultCloseOperation(EXIT_ON_CLOSE);
    setContentPane( new MyPanel() ) ;
    setSize( 1000 , 700 );
    setVisible( true );
    jbInit();
    } catch (Exception exception)
    exception.printStackTrace();
    private void jbInit() throws Exception {
    this.setForeground(Color.lightGray);
    this.setResizable(false);
    setTitle("Assignment - Bidding System");
    jTextAreaTime.setFont(new java.awt.Font("Dialog", Font.BOLD, 12));
    jTextAreaTime.setBorder(border1);
    jTextAreaTime.setOpaque(true);
    jTextAreaTime.setEditable(false);
    contentPane = (JPanel) getContentPane();
    contentPane.setSize(new Dimension(1000, 700));
    contentPane.setLayout(xYLayout1);
    contentPane.setBackground(Color.white);
    contentPane.setEnabled(true);
    contentPane.setDoubleBuffered(false);
    contentPane.setMinimumSize(new Dimension(1000, 700));
    contentPane.setOpaque(true);
    contentPane.setPreferredSize(new Dimension(1000, 700));
    jPanel1.setBorder(border29);
    jPanel1.setLayout(xYLayout4);
    jPanel2.setFont(new java.awt.Font("Arial Black", Font.PLAIN, 11));
    jPanel2.setBorder(border44);
    jPanel2.setLayout(xYLayout3);
    jPanel3.setFont(new java.awt.Font("Dialog", Font.BOLD, 12));
    jPanel3.setBorder(border27);
    jPanel3.setLayout(xYLayout2);
    jTextArea1.setBorder(BorderFactory.createLineBorder(Color.black));
    jTextArea1.setText("");
    jTextArea1.setEditable(false);
    jScrollPane1.setBorder(border37);
    jScrollPane1.setOpaque(false);
    jScrollPane2.setBorder(border25);
    jScrollPane2.setOpaque(false);
    jButton1.setForeground(Color.black);
    jButton1.setRolloverIcon(null);
    jButton1.setIcon(exitButton);
    jButton1.setText("Exit");
    jButton1.addActionListener(new Menu_jButton1_actionAdapter(this));
    jButton2.setText("jButton2");
    jButton3.setText("jButton3");
    jButton4.setText("jButton4");
    jTextArea3.setEditable(false);
    jTextArea3.setText("");
    jTextArea2.setToolTipText("");
    jTextArea2.setEditable(false);
    jTextArea2.setText("");
    jButton5.setText("Go");
    jButton5.setVisible(true);
    ButtonGroup RadioGroupView = new ButtonGroup();
    ButtonGroup RadioGroupCreate = new ButtonGroup();
    jLabel1.setText("Auction Type:");
    jRadioButton3.setText("English");
    jRadioButton4.setText("Vickrey");
    jRadioButton3.setOpaque(false);
    jRadioButton4.setOpaque(false);
    jTextArea4.setBorder(border35);
    jButton6.addActionListener(new Menu_jButton6_actionAdapter(this));
    RadioGroupCreate.add(jRadioButton3);
    RadioGroupCreate.add(jRadioButton4);
    jLabel2.setText("Item Name:");
    jTextField1.addActionListener(new Menu_jTextField1_actionAdapter(this));
    jLabel3.setText("Description:");
    jLabel4.setText("Reserve Price");
    jLabel5.setText("Buy Out");
    jLabel6.setText("Start Price");
    jButton6.setText("Create");
    RadioGroupView.add(jRadioButton1);
    RadioGroupView.add(jRadioButton2);
    jButton5.setToolTipText("");
    jRadioButton1.setOpaque(false);
    jRadioButton1.setToolTipText("");
    jRadioButton1.setText("View All Auctions");
    jRadioButton1.addActionListener(new Menu_jRadioButton1_actionAdapter(this));
    jRadioButton2.setOpaque(false);
    jRadioButton2.setText("View Auction");
    jPanel1.setOpaque(false);
    jPanel2.setOpaque(false);
    jPanel3.setOpaque(false);
    jPanel1.add(jLabel1, new XYConstraints(9, 6, -1, -1));
    jPanel1.add(jLabel2, new XYConstraints(9, 26, -1, -1));
    contentPane.add(jTextAreaTime, new XYConstraints(23, 599, 82, 56));
    contentPane.add(jButton1, new XYConstraints(820, 606, 96, 39));
    contentPane.add(jButton2, new XYConstraints(168, 606, 89, 40));
    contentPane.add(jButton3, new XYConstraints(275, 606, 96, 42));
    contentPane.add(jButton4, new XYConstraints(396, 606, 94, 45));
    jPanel3.add(jRadioButton2, new XYConstraints(9, 24, -1, -1));
    jPanel3.add(jButton5, new XYConstraints(177, 110, -1, -1));
    jPanel3.add(jRadioButton1, new XYConstraints(9, 0, -1, -1));
    jPanel1.add(jTextField1, new XYConstraints(85, 26, 118, -1));
    jPanel1.add(jRadioButton3, new XYConstraints(81, 0, -1, -1));
    jPanel1.add(jRadioButton4, new XYConstraints(144, 0, -1, -1));
    jPanel1.add(jLabel3, new XYConstraints(9, 50, -1, -1));
    jPanel1.add(jTextArea4, new XYConstraints(86, 53, 116, 50));
    jPanel1.add(jButton6, new XYConstraints(308, 107, 102, 22));
    jPanel1.add(jTextField2, new XYConstraints(361, 30, 50, 15));
    jPanel1.add(jTextField3, new XYConstraints(361, 55, 50, 15));
    jPanel1.add(jTextField4, new XYConstraints(361, 79, 50, 15));
    jPanel1.add(jLabel6, new XYConstraints(284, 80, -1, -1));
    jPanel1.add(jLabel4, new XYConstraints(266, 29, -1, -1));
    jPanel1.add(jLabel5, new XYConstraints(296, 56, -1, -1));
    contentPane.add(jPanel1, new XYConstraints(15, 85, 451, 161));
    contentPane.add(jPanel3, new XYConstraints(735, 86, 241, 161));
    contentPane.add(jScrollPane1, new XYConstraints(24, 465, 950, 122));
    jScrollPane1.getViewport().add(jTextArea2);
    contentPane.add(jScrollPane2, new XYConstraints(22, 256, 951, 196));
    jScrollPane2.getViewport().add(jTextArea3);
    contentPane.add(jPanel2, new XYConstraints(478, 88, 245, 161));
    jButton2.setText("Client");
    jButton2.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    jButton2_actionPerformed(e);
    jButton3.setText("From");
    jButton3.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    jButton3_actionPerformed(e);
    jButton4.setText("Server");
    jButton4.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    jButton4_actionPerformed(e);
    jButton5.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    try {
    jButton5_actionPerformed(e);
    catch (ClassNotFoundException ex) {
    catch (RemoteException ex) {
    catch (SQLException ex) {
    try {
    s = (Iserver)Naming.lookup("rmi://192.168.0.3:1099/AuctionService");
    } catch(Exception ex) {
    protected void processWindowEvent(WindowEvent e) {
    super.processWindowEvent(e);
    if (e.getID() == WindowEvent.WINDOW_CLOSING) {
    System.exit(0);
    public void actionPerformed(ActionEvent e) {
    jTextAreaTime.setText("  "+dateTimeBean.getDayName()+"\n"+"  "+dateTimeBean.getDate()+"\n"+ "  "+dateTimeBean.getTime());
    repaint();
    public void jTextField1_actionPerformed(ActionEvent e) {
    public void jButton1_actionPerformed(ActionEvent e) {
    System.exit(0);
    public void jButton2_actionPerformed(ActionEvent e) {
    clientCal.setTime(new Date());
    int hour = clientCal.get(Calendar.HOUR_OF_DAY);
    int minute = clientCal.get(Calendar.MINUTE);
    int secs = clientCal.get(Calendar.SECOND);
    String time = hour + ":" + minute + "." + secs;
    try {
    s.setClientTime(time);
    } catch(java.rmi.RemoteException re) {
    public void jButton3_actionPerformed(ActionEvent e) {
    try {jTextArea2.append(s.getTime() + "\n");
    } catch(java.rmi.RemoteException re) {
    public void jButton4_actionPerformed(ActionEvent e) {
    try {
    s.setServerTime();
    } catch(java.rmi.RemoteException re) {
    //Set Image as Background
    public class MyPanel extends JPanel {
    private Image img ;
    public MyPanel() {
    //setLayout( new BorderLayout() ) ;
    setSize(1000, 700);
    img = new ImageIcon("test.jpg" ).getImage() ;
    public void drawBackground( Graphics g ) {
    int w = getWidth() ;
    int h = getHeight() ;
    int iw = img.getWidth( this ) ;
    int ih = img.getHeight( this ) ;
    for( int i = 0 ; i < w ; i+=iw ) {
    for( int j = 0 ; j < h ; j+= ih ) {
    g.drawImage( img , i , j , this ) ;
    protected void paintComponent(Graphics g) {
    super.paintComponent(g);
    drawBackground( g ) ;
    Aiyo! Would it have killed you to post a short example rather than that whole thing? Anyhowdy, have you checked to see if TitleBorder has a constructor that takes a color? Alternately, you can play with UIManager defaults:
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.border.*;
    public class BorderDefaults {
        public static void main(String[] args) {
            EventQueue.invokeLater(new Runnable(){
                public void run() {
                    UIManager.put("TitledBorder.border",new LineBorder(Color.ORANGE));
                    UIManager.put("TitledBorder.titleColor", Color.RED);
                    JLabel label = new JLabel("I am a label");
                    label.setBorder(BorderFactory.createTitledBorder("border title"));
                    JFrame f = new JFrame();
                    f.getContentPane().add(label);
                    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                    f.pack();
                    f.setLocationRelativeTo(null);
                    f.setVisible(true);
    }

  • How to embedded css in Struts using JBuilder 8

    Hi everyone,
    I have a serious problem in my GUI. Currently i am doin a web portal using struts,Enterprise JavaBean(EJB).
    The softwares i am using are Jbuilder 8 and Dreamweaver MX.
    The interface of my portal is coded in html with css involved.The problem is that once i converted my html coding into struts format using JBuilder 8, the css cannot be read in the struts.(For example, my font size,color,border is the what i have defined in css)
    I have try to covert the html coding into 3.0 Browser compatible using dreamweaver MX. Although it is able to display some of the things that is specified in the CSS,
    but some tags are still lost.
    I will like to know if there is any method,steps or tag that i should take note in my coding so that i can embedded my CSS into my struts using JBuilder 8 without affecting my form color,aligments,size type,etc...
    Regards,
    Jong Hann

    Hi bidris2003,
    i have try the 2 different set of coding.The result is still the same. It doesn't read into the css thing. I have create a folder called css in WebPortal folder. The rest of my jsp pages are in WebPortal folder.
    Example:(1) my jsp page contain in side the WebPortal folder.
    C:\Documents and Settings\u\Desktop\GamePortal(with css)\WebPortal
    (2) My css contain in css folder
    C:\Documents and Settings\u\Desktop\GamePortal(with css\WebPortal\css
    Example code 1:
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
    <%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <html:html locale="true">
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link rel="stylesheet" href="layout.css" type="text/css">
    <html:base/>
    </head>
    <body bgcolor="#FFFFFF" text="#000000" topmargin="0" leftmargin="0" rightmargin="0">
    <table width="100%" border="0" cellspacing="0" height="49" cellpadding="0">
    <tr>
    <td rowspan="2" width="224" height="49" align="left" background="Images/headerbg2.jpg"><html:img width="224" height="49" src="Images/header.jpg"/></td>
    <td height="27" background="Images/headerbg1.jpg">�</td>
    <td width="250" height="27" background="Images/headerbg1.jpg" styleClass="headertext" valign="bottom">
         <html:link href="lostpassword.jsp" target="main">Lost
    password</html:link> :: <html:link href="signup.jsp" target="main" style="text-decoration:none;">Join</html:link></td>
    <td width="9" height="49" rowspan="2" align="right">
    <div align="right"><html:img width="9" height="49" src="Images/header2.jpg"/></div></td>
    </tr>
    <html:form action="/loginAction">
    <tr>
    <td height="22" background="Images/headerbg2.jpg">�</td>
    <td width="250" height="22" background="Images/headerbg2.jpg" valign="middle">
         <div align="right" styleClass="formtext" style="color:#FFFFFF"> Nick:
    <html:text property="nick" styleClass="input"/>
    Password:
    <html:password property="password" styleClass="input"/>
    <html:submit value="Go" property="Submit" styleClass="submit"/>
         </div>
    </td>
    </tr>
    </html:form>
    </table>
    </body>
    </html:html>
    Example code 2:
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
    <%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <html:html locale="true">
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <html:base/>
    <LINK rel="stylesheet" type="text/css"
    ref="<html:rewrite page='/css/layout.css'/>">
    </head>
    <body bgcolor="#FFFFFF" text="#000000" topmargin="0" leftmargin="0" rightmargin="0">
    <table width="100%" border="0" cellspacing="0" height="49" cellpadding="0">
    <tr>
    <td rowspan="2" width="224" height="49" align="left" background="Images/headerbg2.jpg"><html:img width="224" height="49" src="Images/header.jpg"/></td>
    <td height="27" background="Images/headerbg1.jpg">�</td>
    <td width="250" height="27" background="Images/headerbg1.jpg" class="headertext" valign="bottom">
         <html:link href="lostpassword.jsp" target="main">Lost
    password</html:link> :: <html:link href="signup.jsp" target="main" style="text-decoration:none;">Join</html:link></td>
    <td width="9" height="49" rowspan="2" align="right">
    <div align="right"><html:img width="9" height="49" src="Images/header2.jpg"/></div></td>
    </tr>
    <html:form action="/loginAction">
    <tr>
    <td height="22" background="Images/headerbg2.jpg">�</td>
    <td width="250" height="22" background="Images/headerbg2.jpg" valign="middle">
         <div align="right" class="formtext" style="color:#FFFFFF"> Nick:
    <html:text property="nick" styleClass="input"/>
    Password:
    <html:password property="password" styleClass="input"/>
    <html:submit value="Go" property="Submit" styleClass="submit"/>
         </div>
    </td>
    </tr>
    </html:form>
    </table>
    </body>
    </html:html>
    CSS code inside the CSS folder:
    font { font-family: Verdana, Arial, Helvetica, san-serif; font-size:9px;}
    body {
                   background-color: #FFFFFF;
                   text-align: left;
                   font-family: Verdana, Arial, Helvetica, san-serif;
                   font-size:9px; font-weight:normal;
                   padding:0;
                   scrollbar-face-color:#FFFFFF;
                   scrollbar-shadow-color:#AAAAAA;
                   scrollbar-highlight-color:#AAAAAA;
                   scrollbar-3dlight-color:#e5e4e4;
                   scrollbar-track-color:white;
                   scrollbar-arrow-color:#7f7f7f;
    A { text-decoration: none;
         font-family:verdana, arial, helvetica, sans-serif;
         color:#5B5B5B;}
    A:hover { color:#939393;}
    A:active { color:#939393;}
    A:link {color:#5B5B5B;}
    A:vlink {color:#000000;}
    .box {
                   border-right: 1px solid #7F7F7F;
                   border-top: 1px solid #7F7F7F;
                   border-left: 1px solid #7F7F7F;
                   border-bottom: 1px solid #7F7F7F;
                   text-align:left;
                   font-family: Verdana, Arial, Helvetica, san-serif;
                   font-size:10px; font-weight:normal;
                   color: #666666;}
    .boxdashed {
                   border-right: 1px dashed #7F7F7F;
                   border-top: 1px dashed #7F7F7F;
                   border-left: 1px dashed #7F7F7F;
                   border-bottom: 1px dashed #7F7F7F;
                   text-align:left;
                   font-family: Verdana, Arial, Helvetica, san-serif;
                   font-size:10px; font-weight:normal;
                   color: #666666;}
    .description {
                   text-align:left;
                   font-family: Verdana, Arial, Helvetica, san-serif;
                   font-size:9px; font-weight:normal;
                   color: #666666;}
    .details {
                   text-align:right;
                   font-family: Verdana, Arial, Helvetica, san-serif;
                   font-size:11px; font-weight:900; vertical-align:bottom;
                   color: #666666;}
    .formtext {
                   font-family: Verdana, Arial, Helvetica, san-serif;
                   font-size:8px; font-weight:900;
    .forum {
                   font-family: Verdana, Arial, Helvetica, san-serif;
                   font-size:10px; font-color:#5B5B5B;
    .forumtext {
                   background-color:#FFFFFF;
                   font-family: Verdana, Arial, Helvetica, san-serif;
                   font-size:12px;vertical-align:top; padding:0;
                   A { text-decoration: none;
                        font-family:verdana, arial, helvetica, sans-serif;
                        A:hover { color:#939393;}
                        A:active { color:#939393;}
                        A:link {color:#5B5B5B; text-decoration:none;}
                        A:vlink {color:#000000; text-decoration:none;}
    .forumtext2 {
                   background-color:#EEEEEE;
                   font-family: Verdana, Arial, Helvetica, san-serif;
                   font-size:10px; vertical-align:middle; padding:0;
    .forumheader {
                   font-family: Verdana, Arial, Helvetica, san-serif;
                   font-size:10px; font-weight:900; color:white;
                   height:20px; text-align: center;
    .forumheader2 {
                   font-family: Verdana, Arial, Helvetica, san-serif;
                   font-size:10px; font-weight:normal; color:white;
                   height:20px; text-align: center;
    .headertext {
                   text-align:right;
                   font-family: Verdana, Arial, Helvetica, san-serif;
                   font-size:9px; font-weight: bold;
                   color: #FF0099;
                   text-decoration: none
    .headertext2 {
                   text-align:left;
                   font-family: Verdana, Arial, Helvetica, san-serif;
                   font-size:10px; font-weight: bold;
                   color: #5B5B5B;
                   text-decoration: none
    .input {
                   border: 1px solid #5B5B5B;
                   width: 53px;
                   height: 12px;
                   color: #FF0099;
                   font-family: Verdana, Arial, Helvetica, sans-serif;
                   font-size: 9px;
                   text-align: left; line-height: 11px;
                   padding: 0px;
    .input2 {
                   border: 1px solid #FFFFFF;
                   border-bottom: 1px solid #7F7F7F;
                   border-right: 1px solid #7F7F7F;
                   border-top: 1px solid #7F7F7F;
                   border-left: 1px solid #7F7F7F;
                   width: 270px;
                   height: 18px;
                   background-color: #FFFFFF;
                   color: #7F7F7F;
                   font-family: Verdana, Arial, Helvetica, sans-serif;
                   font-size: 9px;
                   text-align: left;
                   padding: 0px;
                   overflow:auto;
    .submit {
                   border: 1px solid #FFFFFF;
                   border-bottom: 1px solid #7F7F7F;
                   border-right: 1px solid #7F7F7F;
                   border-top: 0px;
                   border-left: 0px;
                   width: 25px;
                   height: 15px;
                   background-color: #FFFFFF;
                   color: #7F7F7F;
                   font-family: Verdana, Arial, Helvetica, sans-serif;
                   font-size: 9px;
                   text-align: center;
                   padding: 0px;
    .updates {
                   text-align:left; border:1px solid #939393;
                   font-family: Verdana, Arial, Helvetica, san-serif;
                   font-size:10px; font-weight:normal;
                   color: #666666;
                   padding: 10px;}

  • Persian Font for Application

    Hello Sir,
    We are a group and we work on a project for make an application for calculating an experssion and this application is Web-enable but we have to make some languages like Persian(Farsi). Now, we can not solve this problem. If somebody can help us please send me an e-mail.
    Yours,
    Tantan.
    P.S. An application made with Java in JBuilder enviroment.

    hi tantan,
    ResourceBoundle is just file.
    steps
    1) create file with .properties(ex--filename.properties)
    2) then store what u want with key and corresponding value
    ex:-- Name =Daya
    Age =18
    etc.... and save it.
    3) if u want Name visible in Arabic than Daya should be like some what like this \u0644\u0644\
    ex:- Name = \u0644\u0644\ ( i don't now how can i type arabic unicodes
    you need to know arabic latter in unicode
    search google for arabic latter in unicode)
    the above steps for storing unicode values in .properties
    In java application u need to read the properties file
    exp:
    Locale currentLocale = new Locale("ar","LT");
    ResourceBundle labels = ResourceBundle.getBundle("fileName",currentLocale);
    String Name = labels.getString(key);
    and u have to set the Arabic font to componet.
    ex: componet.setFont(new Font("aribic",FONT.BOLD,12);
    componet.setText(Name);
    First create small application with Label and test it
    all the best

  • How do I use Edge Web Fonts with Muse?

    How do I use Edge Web Fonts with Muse - is it an update to load, a stand alone, how does it interface with Muse? I've updated to CC but have no info on this.

    Hello,
    Is there a reason why you want to use Edge Web Fonts with Adobe Muse?
    Assuming you wish to improve typography of your web pages, you should know that Muse is fully integrated with Typekit. This allows you to access and apply over 500 web fonts from within Muse. Here's how you do it:
    Select a text component within Muse, and click the Text drop-down.
    Select Add Web Fonts option, to pop-open the Add Web Fonts dialog.
    Browse and apply fonts per your design needs.
    Muse also allows you to create paragraph styles that you can save and apply to chunks of text, a la InDesign. Watch this video for more information: http://tv.adobe.com/watch/muse-feature-tour/using-typekit-with-adobe-muse/
    Also take a look at these help files to see if they help you:
    http://helpx.adobe.com/muse/tutorials/typography-muse-part-1.html
    http://helpx.adobe.com/muse/tutorials/typography-muse-part-2.html
    http://helpx.adobe.com/muse/tutorials/typography-muse-part-3.html
    Hope this helps!
    Regards,
    Suhas Yogin

  • How do you invoke Edge Web Fonts?

    Assuming this is available in this release, how to you bring up the Edge Web Fonts capability?

    Hi Phil,
    You should be able to trigger the code hints manually anywhere in the font-family value by pressing Ctrl+Space.  It should also pop up automatically if you type "," followed by a space anywhere in the value.  Are those approaches not working for your code?  (If so, please post a snippet of your CSS here so we can investigate).
    - Peter

  • How do I use the Japanese fonts in Font Book in a Pages document?

    How does one use the Japanese fonts in Font Book in a Pages document. Pages has its own fonts but I cannot get the Japanese fonts into it.

    To type japanese on a computer you change the keyboard, not the font.  Go to system prefs/keyboard/input sources and add Japanese/Kotoeri to the list, then select Hiragana in the "flag" menu at the top right of the screen, then type.  The font will take care of itself.
    http://redcocoon.org/cab/mysoft.html
    If you have any further questions, just ask.

  • How do you use edge web font in Edge Reflow?

    By default, I don't have a lot of fonts. It's just viewing a few of them.
    How can you get the web font for Edge Reflow? Can you use font from fontbook?
    Is there a way to download Edge Web Font?

    Above: using Brandon Grotesque (web use font) does not display the correct font.
    I'm using Typekit and have an internet connection. If I switch to a "desktop use" font, it shows up, so I'm guessing the "web use" only fonts won't show in Reflow. A little frustrating when you're trying to get an accurate preview/determine best font styling because of the back-and-forth workflow.
    Above: using Source Sans Pro (desktop use font) does display the correct font.

  • How do i add type kit fonts to muse web site

    how do I +add type kit fonts to muse website

    Hi.
    Check this video, might be helpful
    Let me know if you have any questions

  • How do I include 'Edge Web Fonts' into Edge Animate?

    How do I include 'Edge Web Fonts' (not Google Web Fonts) into Edge Animate?

    Have you tried to use google fonts? I have used them and they work for me.
    When you add your font for example:
    Copy paste:
    <link href='http://fonts.googleapis.com/css?family=Finger+Paint' rel='stylesheet' type='text/css'>
    and then for font family.
    'Finger Paint', cursive;
    then select addfont on the addfont screen

Maybe you are looking for

  • Multiple ipods with one computer

    i have an ipod nano. I just bought and connected my son's ipod shuffle on the same computer. My problem is that when I click on the itunes icon on my desktop, i get his library. I can't find my library in itunes, although the music files are in "my m

  • Problem when turning off

    Everytime i'm going to turn my macbook pro off for some reason there's a software ( or anything like that ) called ''mirroragent'' and it's probably not virus because i've had that problem since my first or second day with my ''new'' notebook.. can a

  • Why buttons are not visible on many web sites? They are there and function properly if I happen to find them, but the problem makes life difficult.

    The problem occurs on many public sites like Finnair, Gites-de-France etc. I can see only white on the screen. Sometimes it is possible to find the button by guessing where it might locate.

  • Not showing in Itunes (different)

    Hello, I have read the other posts regarding this issue however I have a different problem I am not seeing the ipod in Itunes (ver 7) However my computer recognizes it, and the updater recogizes it, firmware wersion 1.2 In Itunes when I run Diagnosti

  • Userid & password for Enterprise Manager?!! pls help.

    I installed Release 2 9i Infrastructure, Application Server and Developement kit on one NT machine, they were all installed under separate Oracle Home like d:\oracle\oracleHome (for infrastructure) d:\oracle\ASHome (for AS) d:\oracle\SDKHome (for DK)