I need to change my browser to English
how do i change my browser's language?
== This happened ==
Just once or twice
Download the English version from http://www.mozilla.com/en-US/firefox/all.html
Similar Messages
-
Hi there
I need to change language setting from English US into English uk, in a Mac OS X 10.5.8, how can I do that?
Many thanksChange your OS X language
Your Mac is set to display the language for the country in which you bought the computer. For example, if you bought your Mac in the United States, your Mac is set to English. If you bought your Mac in France, your Mac is set to French. But if you prefer to use a different language, you can.
If you bought your Mac in the U.S. but English isn't your preferred language,
you can switch the language via drag-and-drop.
Open System Preferences and click Language & Text.
Click the Language tab.
In the Languages pane, drag your preferred language to the top of the list.
To apply the language throughout your system, restart your Mac or log out and log back in.
You can also customize various aspects of any application by choosing Preferences from the application menu. For example, to configure settings for the TextEdit application, open it from your Dock or the Applications folder, then from the TextEdit menu, choose Preferences. Other application preferences can be configured in similar fashion. -
What setting do i need to change to send items in zynga games?
HP Pavilion dv7-3165dx
Windows 7
no changes before issues happened, except facebook changesI can send items correctly in Zynga games but can only request items occasionally, like once in 50 or so times. I can usually request items of my farmville friends the very first time I am line in the morning, on my first request. After that it will only go to my facebook friends who are NOT my farmville friends. Do I need to change my browser and if so how do I do that?
I have been in contact with the Zynga folks for several months and they keep saying "they are working on it" but have been unable to assist me so far. I want to find out if it's something I can fix on my end.
Thank you for your help.
Janette Wren -
Help!!! I need to change my browser's settings to allow POP-UPS from the AT&T website so a new window can appear so I can do the tests. Help!!! This is time sensitive!!! :)
Hi,
If you go to the AT&T site and then tap the icon to the left of the URL/location bar, you can select 'Clear Site Preferences' to allow popups.
Thanks,
Michelle -
I can not get real audio player to record videos from the internet i use firefox as my browser on windows 7, I believe the problem is that my Firefox browser is set for 64 bi... i need to change it to 32 and do not know how.
dont know what to do
-
iPad browser is in Chinese , any website is in Chinese ... How do I change this back to English. GTR
Any responses?
-
Ship-to Address" screen in SRM browser need to change to display only
Hi Freinds,
Ship-To Address" screen in SRM browser needs to change to "Display" only. The users shouldn´t have the possibility to change the delivery address in the screen to their own private address.
Is it possbile to do any changes in SRM itself or else its purely JAVA HTML work.
Kindly i need you guys help to resolve the above development.
Regards
VivekHello Vivek,
Solution given by Suneel should be OK.
Nevertheless, if Ship-To must be only in display mode for all users (independently of their role) and only for particular document types, you can manage it with partner schema:
SAP Implementation Guide > SAP Supplier Relationship Management > SRM Server > Cross-Application Basic Settings > Define Partner Schema
Then maintain this partner schema ID to your concerned document type:
SAP Implementation Guide > SAP Supplier Relationship Management > SRM Server > Cross-Application Basic Settings > Define Transaction Types
Regards.
Laurent. -
Satellite L500-164 - Need keyboard change to English or Greek
Hello,
I'm studying in Germany now and I was thinking of buying the Satelite L500-164.
The problem is, in all shops you can only buy it with German keyboard which I totally hate.
Is it possible to change it to an English(or Greek) one?
How much will it cost? How long will it take?
I thought about buying it from Toshiba directly but they don't sell it, so I guess I'm stuck with buying it and immediately sending it to service for keyboard change?
Are there any shops which sell it with English keyboard or can change it at demand?
Thanks a lot> I thought about buying it from Toshiba directly but they don't sell it, so I guess I'm stuck with buying it and immediately sending it to service for keyboard change?
Well, this will be one solution the other would be buying an Satellite L500 in UK to get an keyboard with English layout.
You could try to order from some online retailers. There are enough online shops which provides Toshiba notebooks -
I had restore my nano and the language ended up chinese or something similar - need to change to english
iPod Manuals
-
I lost my iPad and need to change my apple ID.
Hi Everyone
Please help before I hit my new mac with a sledge hammer!!
I recently lost my ipad and need to change my apple ID. When I go to the ID page it gives me the option of changing any of my details except my ID which does not have an edit button next to it. How can I change the ID itself and would I lose access to my existing apps if I did change it? I have spent hours signing out of every feature on both my mac and iphone but how can i do this from my now lost ipad and would it make any difference if i could? I am very confused and frustrated with all the apple jargon on the help pages and support communities. Please can somebody help by talking english to me??Why do you want to change the ID? If it's because you've lost your iPad just change the password so that the person now in posession of it can't get into your iCloud account.
If you really want to change the address which forms the ID you can do this at http://appleid.apple.com provided that it isn't an @icloud.com, @me.com or @mac.com address - if it's one of those that would explain why you don't have an 'edit' button and you can't change it.
It you were able to change the ID that won't affect your access to apps since the account itself remains the same, though of course the login has to be changed on every device signed into iCloud or iTunes.
If you are going to change either the ID or the password you must turn of 'Find My iPhone' on any device it is enabled on or you will find yourself in difficulties. -
I download my illustrator as Chinese edition, I want to change it back to English, how should I do that?
My computer is MAC, do I need to download any extra things to fix it?Depends on the version:
Adjust the install language | CCM -
I need to change my id email address. The address I need to use is also my repair address and it will not let me make the change. Can someone help me. I cannot find a phone number to call that will help me with this problem.
There isn't a phone number for iTunes Support.
If you mean that the address is your rescue email address then follow the steps half-way down this page for changing it http://support.apple.com/kb/HT5312 :
Navigate to appleid.apple.com using your web browser.
Click "Manage your account"
When prompted, sign in using your Apple ID and password.
Click Password & Security
You'll be asked to answer 2 of your 3 security questions before you can make any modifications. If you are unable to remember your answers, you can choose to send an email to your rescue email to reset your security questions.
After you've validated your identity by correctly answering your security questions, click Edit to the right of your rescue email address.
Once you've finished editing your rescue email address, click the Save button directly below the email field.
You can then try using it as your primary email address on your account (you may need to log out and back in after removing it as your rescue email address). -
I created a slide show on my work computer and placed many photos and movies in my work computer's Media Browser. Want to use another computer (laptop) to give the presentation and therefore change location of slide show. Do I need to copy the media browser to the laptop or once the pictures and movies are embedded in the original slide show, can I take it anywhere and not worry about the media browser?
I also want to optimize a movie for Keynote, so it's not too large a file. Please help.Graphic, sound and video files are copied into the Keynote file, but make sure Keynote > Preferences - include sound and movies check box is ticked.
If you have added additional fonts they will need be changed to reflect what is on the destination machine.
If the other machine has a different Keynote version, ensure the same transitions and effects are available. -
Im fresh from a Windows background and struggling to get started on the NUMBERS program - I need to change the , to a . for decimal numbers (the NUMBERS program does not seem to recognise the . but when I change the separator to a , it works - problem is that I have many exsiting Excel worksheets in which I used the . There is no way that I want to redo all these worksheets so I need to change NUMBERS so that it recognises a . as the decimal separator and not the , Please help!!
I don't know the iOS behavior so I will answer for OSX.
At this time, on your machine, Numbers use the decimal comma.
This means that your system is set to behave this way.
Enter the System's Preference Pane entitled "Language and Text" and customize the number's format.
In this screenshot you may see the default French settings.
Replace the comma by the period in both "Decimale" fields then restart the machine.
The system will use the decimal period and Numbers will do too.
Assuming that one day you want to revert to decimal comma, no problem, revert the system's setting.
Numbers will be fair enough to adapt itself to the new state.
In fact, it store decimal numbers in the English format : decimal period and adjust on the fly according to system settings.
Yvan KOENIG (VALLAURIS, France) mardi 22 janvier 2011 18:03:45
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
My iDisk is : <http://public.me.com/koenigyvan>
Please : Search for questions similar to your own before submitting them to the community -
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);
}
Maybe you are looking for
-
I have been having problems with my ical recently. I opened it one day and nothing appeared and I figured out that it was because my month view wasn't appearing. I can still see the day and week view, but as soon as I switch to month, its gone. Any i
-
I just sinced up to an old iphone and it deleted all of my current iphones info and loaded all of the older stuff on it. How do I undo this???
-
How do I save changes in text size
How do I save increases in text size. The zoom feature reverts to earlier setting when I change web page. I was not able to change font size using font setting under content tab in tools.
-
IPhoto will not import certain JPG files
I have just migrated to a 2012 Retina 15" MacBook Pro from a 13" MBP. I am using Mavericks 10.9.1 and iPhoto 9.5.1. The MBP is a 2.7gHz quad core with 16GB of memory and a 768GB SSD. I was trying to tidy up my hard disc and import some .jpg files fro
-
Unable to Insert PDF to Powerpoint 2010 getting error
Hi, I am getting this error "The server application, source file, or item can't be found, or returned an unknown error. You may need to reinstall the server application" when I am trying to insert an PDF file into Powerpoint slide I am using this me