Tooltiptext in a JOptionPane's Combobox?

Hi, Im wounder if it's possible to add
ToolTipsTexts to a JOptionPane.showInputDialog that is created in this way.
sortedFunctionSet.toArray gives a array of strings making the showinputdialog create a combobox with all values. I want to show a tooltiptext for each item in the combobox.
JOptionPane.showInputDialog(
          getCurrentView(),
          "SomeText",
          "Heading",
          JOptionPane.QUESTION_MESSAGE,
          getIcon(),
          sortedFunctionSet.toArray(),
          null
     );Thanks!
Message was edited by:
AnyAndy

Read the article on "Beyond the Basics of JOptionPane":
http://java.sun.com/developer/JDCTechTips/
It shows you how to add a component directly to the option pane. So you can build your combo box externally and add tooltips to it and then add the combo box to the option pane.

Similar Messages

  • Editable ComboBox in JOptionPane

    Can we have an editable comboBox in JOptionPane. Everything matches my requirements in the JOptionPane except that the comboBox is non editable. Can I make it editable instead of writting my own class which does this purpose...
    ??

    Actually found something similar which resolves the issue..
    Following is the code snippet......
    final JPanel panel = new JPanel();
    String[] choices = new String[] {"choice1", "choice2"};
    final JComboBox combo = new JComboBox(choices);
    combo.setEditable(true);
    panel.add(combo);
    if (JOptionPane.showConfirmDialog (null, panel,"Save As", JOptionPane.OK_CANCEL_OPTION) ==JOptionPane.OK_OPTION) {
    System.out.println("Saving " + combo.getSelectedItem());

  • JOptionPane: not disappearing properly on seleting "Cancel"

    /*takes SQL statement input SQL Input Window, shows table in Center-Right,Tree in Center-Left,
    and gives number of records returned in South text field.
    import java.awt.*;
    import java.awt.event.*;  
    import javax.swing.*;                    
    import javax.swing.text.BadLocationException;
    import javax.swing.table.*;     
    import javax.swing.tree.*;
    import java.sql.*;   
    import java.util.Vector;
    public class DataBaseAppCombined
      static DataBaseBrowse1 window;  
      public static void main(String[] args)
        window = new DataBaseBrowse1();    
        Toolkit theKit = window.getToolkit(); 
        Dimension wndSize = theKit.getScreenSize();
        window.setBounds(0, 0,
         wndSize.width,
         wndSize.height);                  
        window.setVisible(true);
    class DataBaseBrowse1 extends JFrame implements ActionListener
      public DataBaseBrowse1()
       super("Visual Data");
    //This dialog box doesn't respond appropriately to "Cancel" or "No"
       addWindowListener(new WindowAdapter(){
              public void windowClosing(WindowEvent e)
                   if (JOptionPane.showConfirmDialog(null,"Do you really want to quit now?")
                   == JOptionPane.YES_OPTION)
                        dispose();
                        System.exit(0); 
              // Create the menubar from the menu items
              JMenu fileMenu = new JMenu("File");
              fileMenu.setMnemonic('F');
              fileMenu.add(connectItem);
              connectItem.addActionListener(this);
              fileMenu.add(clearQueryItem);
              clearQueryItem.addActionListener(this);
              fileMenu.add(exitItem);
              exitItem.addActionListener(this);
              menuBar.add(fileMenu);   
        setJMenuBar(menuBar);        
        JPanel commandPane = new JPanel(); //holds label and textArea for SQL queries
        commandPane.setLayout(new BorderLayout());
        commandPane.add(new JLabel("Enter SQL query here: ", JLabel.LEFT),BorderLayout.WEST);
        command.setToolTipText("Key SQL commmand and press Enter");
        command.setLineWrap(true);
        command.setWrapStyleWord(true);
        command.addKeyListener(new KeyHandler());     
        commandPane.add(command, BorderLayout.CENTER);
        getContentPane().add(commandPane, BorderLayout.NORTH);
        // Add the status reporting area at the bottom
        status.setLineWrap(true);
        status.setWrapStyleWord(true);
        status.setEditable(false);
        getContentPane().add(status, BorderLayout.SOUTH);
              // Create a table model to go in right splitPane
              tableModel = new ResultsModel();
              JTable table = new JTable(tableModel);
              table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);  
              tablePane = new JScrollPane(table);
              tablePane.setBorder(BorderFactory.createLineBorder(Color.darkGray));
              //create tree to go in left splitPane
              dbNode = new DefaultMutableTreeNode("No Database");
              dbTreeModel = new DefaultTreeModel(dbNode);
              dbTree = new JTree(dbTreeModel);
              treePane = new JScrollPane(dbTree);
              treePane.setBorder(BorderFactory.createLineBorder(Color.darkGray));
              JSplitPane splitpane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT,
                       true,        //continuous relayout
                       treePane,    //Left pane content
                       tablePane);  //Right pane content
              getContentPane().add(splitpane, BorderLayout.CENTER);
              splitpane.setDividerLocation(400);
        pack();
        //setVisible(true);
         //get variables out of User object
         //and connect to driver
         public void initializeUser(User _user)
              driver = _user.getDriver();
              url = _user.getURL();
              password = _user.getPassword();
              user = _user.getUser();
              try
                   Class.forName(driver);                          
                   connection = DriverManager.getConnection(url, user, password);
                   statement = connection.createStatement();
                   catch(ClassNotFoundException cnfe)
                   System.err.println(cnfe);
                   catch(SQLException sqle)
                   System.err.println(sqle);
      public void actionPerformed(ActionEvent e)
        Object source = e.getSource();
              if(source == clearQueryItem)
              try
               command.getDocument().remove(0,len);
              catch (BadLocationException ex)
                             System.err.println(ex);
        else if(source == exitItem)                
    //This dialog box does respond appropriately to "Cancel" and "No".
                   if (JOptionPane.showConfirmDialog
                   (null,"Do you really want to quit now?")
                   == JOptionPane.YES_OPTION)
                        dispose();
                        System.exit(0); 
        else if (source ==connectItem)
             showPasswordDialog();
         public void showPasswordDialog()
               // if first time, construct dialog
               if (dlgPanel == null)
                        dlgPanel = new PasswordChooser();
               // pop up dialog
               if (dlgPanel.showDialog(null,
                        "Connect"))
                        // if accepted, retrieve user input as a User object
                        User u = dlgPanel.getUser();
                        DataBaseBrowse1.this.initializeUser(u);
      public void executeSQL()
        //retrieve the text from the JTextField as SQL statement
        try
                   len = command.getDocument().getLength();
                   stringIn = command.getDocument().getText(0,len);
                   query = stringIn.trim();
                   if(query == null) 
          return;
              catch (BadLocationException e)
                   System.err.println(e + "bad location");
        try
          tableModel.setResultSet(statement.executeQuery(query));
          status.setText("Resultset has " + tableModel.getRowCount() + " rows.");
        catch (SQLException sqle)
          status.setText(sqle.getMessage());
         class KeyHandler extends KeyAdapter
              //Handler for Enter key events
              public void keyPressed(KeyEvent e)
                   int keyCode = e.getKeyCode();
                   if (keyCode == e.VK_ENTER)
                   executeSQL();
         private DefaultMutableTreeNode dbNode;
         private DefaultTreeModel dbTreeModel;
         private JTree dbTree;
         private JScrollPane tablePane,
                             treePane;
      private JTextArea command = new JTextArea(2,1); // Input area for SQL
      private JTextArea status = new JTextArea(3,1); 
      private String stringIn,query,user, driver,url;
      private String password;
      private int len;
      private PasswordChooser dlgPanel;
      private User u;
      JMenuBar menuBar = new JMenuBar();
      JMenuItem connectItem = new JMenuItem("Connect");
      JMenuItem clearQueryItem = new JMenuItem("Clear query");
      JMenuItem exitItem = new JMenuItem("Exit");
      Connection connection;
      Statement statement;                        
      ResultsModel tableModel;
       A password chooser that is shown inside a dialog
    class PasswordChooser extends JPanel
       public PasswordChooser()
              // panel conaining the panel holding the JLabels
              //and the panel holding the JComboBoxes
              panel = new JPanel();
              panel.setLayout(new BorderLayout());
              //panel for textfields
              tfPanel = new JPanel();
              tfPanel.setLayout(new GridLayout(4,1,5,5));
              tfPanel.add(new JLabel("Driver:"));
              tfPanel.add(new JLabel("URL"));
              tfPanel.add(new JLabel("User name:"));
              tfPanel.add(new JLabel("Password:"));
              panel.add(tfPanel,BorderLayout.WEST);
              //panel for comboboxes
              cbPanel = new JPanel();
              cbPanel.setLayout(new GridLayout(4,1,5,5));
              //drivers
              String[] driverChoices ={"sun.jdbc.odbc.JdbcOdbcDriver","other"};
              driverFields =new JComboBox(driverChoices);
              driverFields.setEditable(true);
              cbPanel.add(driverFields);
              //urls
              String[] urlChoices = {"jdbc:odbc:technical_library", "other"};
              urlFields = new JComboBox(urlChoices);
              urlFields.setEditable(true);
              cbPanel.add(urlFields);
              //user and password
              cbPanel.add(userName = new JTextField(""));
              cbPanel.add(password = new JTextField(""));
              panel.add(cbPanel, BorderLayout.CENTER);
              // create Ok and Cancel buttons that terminate the dialog
              JButton okButton = new JButton("Ok");
              okButton.addActionListener(new
                   ActionListener()
                        public void actionPerformed(ActionEvent event)
                              ok = true;
                              dialog.setVisible(false);
          JButton cancelButton = new JButton("Cancel");
          cancelButton.addActionListener(new
                    ActionListener()
                        public void actionPerformed(ActionEvent event)
                         dialog.setVisible(false);
          // add buttons to southern border
          buttonPanel = new JPanel();
          buttonPanel.add(okButton);
          buttonPanel.add(cancelButton);
          panel.add(buttonPanel, BorderLayout.SOUTH);
          this.add(panel);
       public User getUser()
          return new User((String)driverFields.getSelectedItem(),
                    (String)urlFields.getSelectedItem(),
                    userName.getText(),
                    password.getText());
          Show the chooser panel in a dialog
          @param parent a component in the owner frame or null
          @param title the dialog window title
       public boolean showDialog(Component parent, String title)
          ok = false;
          // locate the owner frame
          Frame owner = null;
          if (parent instanceof Frame)
             owner = (Frame) parent;
          else
             owner = (Frame)SwingUtilities.getAncestorOfClass(
                Frame.class, parent);
          // if first time, or if owner has changed, make new dialog
          if (dialog == null || dialog.getOwner() != owner)
             owner = null;
             dialog = new JDialog(owner, true);
             dialog.getContentPane().add(this);
             dialog.pack();
          // set title and show dialog
          dialog.setTitle(title);
          dialog.setVisible(true);
          return ok;
       private JTextField userName,password;
       private JComboBox driverFields,urlFields;
       private boolean ok;
       private JDialog dialog;
       private JPanel panel,tfPanel,cbPanel, buttonPanel;
       A user has a driver, url, name and password.
    class User
       public User(String aDriver, String aURL, String aUser, String aPassword)
                 driver =aDriver;
                 URL =aURL;
          user = aUser;
          password = aPassword;
       public String getDriver() {return driver;}
       public String getURL() {return URL;}
       public String getUser() { return user; }
       public String getPassword() { return password; }
       private String user,URL,driver;
       private String password;
    ResultsModel takes a resultset and draws a table
    class ResultsModel extends AbstractTableModel
      String[] columnNames = new String[0];
      Vector dataRows;              // Empty vector of rows
      public void setResultSet(ResultSet results)
        try
          ResultSetMetaData metadata = results.getMetaData();
          int columns =  metadata.getColumnCount();    // Get number of columns
          columnNames = new String[columns];           // Array to hold names
          // Get the column names
          for(int i = 0; i < columns; i++)
            columnNames[i] = metadata.getColumnLabel(i+1);
          // Get all rows.
          dataRows = new Vector();                  // New Vector to store the data
          String[] rowData;                         // Stores one row
          while(results.next())                     // For each row...
            rowData = new String[columns];          // create array to hold the data
            for(int i = 0; i < columns; i++)        // For each column
               rowData[i] = results.getString(i+1); // retrieve the data item
            dataRows.addElement(rowData);           // Store the row in the vector
          fireTableChanged(null);           // Signal the table there is new model data
        catch (SQLException sqle)
          System.err.println(sqle);
      public int getColumnCount()
        return columnNames.length;
      public int getRowCount()
        if(dataRows == null)
          return 0;
        else
          return dataRows.size();
      public Object getValueAt(int row, int column)
        return ((String[])(dataRows.elementAt(row)))[column];
      public String getColumnName(int column)
        return columnNames[column] == null ? "No Name" : columnNames[column];
    }

    I posted the code before clearly restating my question.
    I have two JOptionPanes, noted in the code with comments, which appear on closing the program. The first one is in response to a widow event, the second in response to a File>>Exit event. The code for both is identical, but the first one does not function properly when "Cancel" or No" is pressed. Instead of the dialog diasappearing, the program window disappears, but the program does not exit.I'm not sure quite how to implement DO_NOTHING_ON_CLOSE to solove this, as was suggested.
    BTW, the formatting is giving me troubles, despite my efforts to use only necessary tabs and remove comments. I reposted in order to make my listing more readable, but don't think I succeeded.

  • Using JOptionPane in a non-event dispatching thread

    I am currently working on a screen that will need to called and displayed from a non-event dispatching thread. This dialog will also capture a user's selection and then use that information for later processing. Therefore, the dialog will need to halt the current thread until the user responds.
    To start, I tried using the JOptionPane.showInputDialog() method and set the options to a couple of objects. JOptionPane worked as advertised. It placed the objects into a combobox and allowed the user to select one of them. However, it also gave me something unexpected. It actually paused the non-event handling thread until the user had made a selection. This was done without the JOptionPane code being wrapped in a SwingUtilities.invokeLater() or some other device that would force it to be launched from an Event Handling Thread.
    Encouraged, I proceeded to use JOptionPane.showInputDialog() substituting the "message" Object with a fairly complex panel (JRadioButtons, JLists, JTextFields, etc.) that would display all of the variety of choices for the user. Now, when the screen pops up, it doesn't paint correctly (like what commonly occurs when try to perform a GUI update from a non-event dispatching thread) and the original thread continues without waiting for a user selection (which could be made if the screen painted correctly).
    So, here come the questions:
    1) Is what I am trying to do possible? Is it possible to create a fairly complex GUI panel and use it in one of the static JOptionPane.showXXXDialog() methods?
    2) If I can't use JOptionPane for this, should I be able to use JDialog to perform the same type function?
    3) If I can use JDialog or JFrame and get the threading done properly, how do I get the original thread to wait for the user to make a selection before proceeding?
    I have been working with Java and Swing for about 7-8 years and have done some fairly complex GUIs, but for some reason, I am stumped here. Any help would be appreciated.
    Thanks.

    This seems wierd that it is functioning this way. Generally, this is what is supposed to happen. If you call a JOptionPane.show... from the Event Dispatch Thread, the JOptionPane will actually begin processing events that normally the Event Dispatch Thread would handle. It does this until the user selects on options.
    If you call it from another thread, it uses the standard wait and notify.
    It could be that you are using showInputDialog for this, try showMessageDialog and see if that works. I believe showInputDialog is generally used for a single JTextField and JLabel.

  • GridControl Cell rendered as either button or combobox depending on data

    I have worked out the following code. If the data has more than one row it will return the words <MORE> in the query. If there is only one row it will return text and if there are no rows the cell is blank.
    The following renders and takes care of the editor. So when you click on either a blank cell or a text cell it will display a comboboxcontrol. If you click on the cell that is a button it will return a joptionpane.
    I thought maybe somebody else would need this.
    Initial code taken from http://www2.gol.com/users/tame/swing/examples/JTableExamples2.html and tweeked for the button.
    package Samples;
    import javax.swing.table.*;
    import javax.swing.*;
    import java.awt.*;
    * A Class class.
    * <P>
    * @author Linda B. Rawson
    public class SampleNameRenderer extends DefaultTableCellRenderer {
    JCheckBox checkBox = new JCheckBox();
    JButton button = new JButton();
    * Constructor
    public SampleNameRenderer() {
    public Component getTableCellRendererComponent(
    JTable table, Object value,
    boolean isSelected, boolean hasFocus,
    int row, int column) {
    if (value instanceof Boolean) { // Boolean
    checkBox.setSelected(((Boolean)value).booleanValue());
    checkBox.setHorizontalAlignment(JLabel.CENTER);
    return checkBox;
    String str = (value == null) ? "" : value.toString();
    if (str.equals("<MORE>") ) {
    button.setText("< MORE >");
    return button;
    return super.getTableCellRendererComponent(
    table,str,isSelected,hasFocus,row,column);
    package Samples;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.table.*;
    import oracle.dacf.control.swing.*;
    import javax.swing.event.*;
    import java.util.EventObject;
    import javax.infobus.*;
    * A Class SampleNameEditor class.
    * <P>
    * @author Linda B. Rawson
    public class SampleNameEditor implements TableCellEditor {
    private final static int COMBO = 0;
    private final static int BOOLEAN = 1;
    private final static int STRING = 2;
    private final static int NUM_EDITOR = 3;
    ComboBoxControl comboBox = new ComboBoxControl();
    JTextField textField = new JTextField();
    JCheckBox checkBox = new JCheckBox();
    JButton button = new JButton();
    private boolean isPushed;
    public String str = "";
    DefaultCellEditor[] cellEditors;
    int flg; // Default to String
    * Constructor
    public SampleNameEditor() {
    cellEditors = new DefaultCellEditor[NUM_EDITOR];
    // combo box editor
    comboBox = new ComboBoxControl();
    cellEditors[COMBO] = new DefaultCellEditor(comboBox);
    // Will not take button as an argument. Will only take checkbox.
    checkBox = new JCheckBox();
    checkBox.setOpaque( true );
    checkBox.setHorizontalAlignment(JLabel.CENTER);
    cellEditors[BOOLEAN] = new DefaultCellEditor(checkBox);
    cellEditors[STRING] = new DefaultCellEditor(textField);
    button = new JButton();
    isPushed = true;
    public Component getTableCellEditorComponent(JTable table, Object value,
    boolean isSelected, int row, int column) {
    if (value.toString().equals("<MORE>") ) {
    flg = BOOLEAN;
    if (isSelected) {
    button.setForeground(table.getSelectionForeground());
    button.setBackground(table.getSelectionBackground());
    } else{
    button.setForeground(table.getForeground());
    button.setBackground(table.getBackground());
    str = (value ==null) ? "" : value.toString();
    button.setText( str );
    button.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    if (isPushed) {
    JOptionPane.showMessageDialog(button ,": Ouch! I am going to show you multiple samples");
    isPushed = false;
    cancelCellEditing();
    isPushed = true;
    return button;
    } else if (value instanceof String) { // ComboString
    flg = COMBO;
    comboBox. setFont(new Font("Dialog", 0, 12));
    comboBox.setListKeyDataItemName("infobus:/oracle/session1/rowSetSamples/SampleName");
    comboBox.setListValueDataItemName("infobus:/oracle/session1/rowSetSamples/SampleName");
    comboBox.setDataItemUsageMode(oracle.dacf.control.DualBindingControl.FOR_NAVIGATION);
    return comboBox;
    /* Use this if you ever desire a text field as well as a combo and button.
    } else if (value instanceof String) { // String
    flg = STRING;
    return cellEditors[STRING].getTableCellEditorComponent(
    table, value, isSelected, row, column);
    return null;
    public Object getCellEditorValue() {
    switch (flg) {
    case COMBO:
    str = ((ImmediateAccess)comboBox.getDataItem()).getValueAsString();
    return str;
    case BOOLEAN:
    case STRING:
    return cellEditors[flg].getCellEditorValue();
    default:
    return null;
    public Component getComponent() {
    return cellEditors[flg].getComponent();
    public boolean stopCellEditing() {
    return cellEditors[flg].stopCellEditing();
    public void cancelCellEditing() {
    cellEditors[flg].cancelCellEditing();
    public boolean isCellEditable(EventObject anEvent) {
    return cellEditors[flg].isCellEditable(anEvent);
    public boolean shouldSelectCell(EventObject anEvent) {
    return cellEditors[flg].shouldSelectCell(anEvent);
    public void addCellEditorListener(CellEditorListener l) {
    cellEditors[flg].addCellEditorListener(l);
    public void removeCellEditorListener(CellEditorListener l) {
    cellEditors[flg].removeCellEditorListener(l);
    public void setClickCountToStart(int n) {
    cellEditors[flg].setClickCountToStart(n);
    public int getClickCountToStart() {
    return cellEditors[flg].getClickCountToStart();
    Enjoy.
    Linda
    null

    Ok FYI Ive implemented a different solution which works fine.
    I have one class that contains a JPopupMenu and listens for a MouseEvent and displays the popup with the correct actions disabled/enabled as before. But I also register as a for PopupMenuListener on the Popup, and when it receives a PopupMenuIsBecomingInvisibleEvent , I enable all the actions in the associated table actionMap, this ensures that the action is always triggered from the keyboard shortcut
    When the action is triggered it checks the source of the ActionEvent, if it has come from the PopUp the action runs because we know it couldnt be triggered from the popup unless it was an enabled action. But if the source is a table we then perform the validation checks to see if it should run based on the cell contents, if it shouldnt it just returns without doing anything, if the validation is ok then it actaully does the action.

  • Can JOptionPane produce an editable JComboBox?

    Can I use JOptionPane for an input dialog component with a data input area represented by an editable JComboBox ?
    For example :
    JOptionPane.showInputDialog( parent,
    � How Much?�,
    �This is the title�,
    JOptionPane.QUESTION_MESSAGE,
    null,
    new Object[]
    { � �, �un peu�,�beaucoup�,�passionnement�},
    �passionnement�);
    This one statement produces the input dialog I want, except that it does not allow an input such as �pas du tout� which is not in the list of selections.
    Does any one knows if somehow I could get to this JComboxBox and make it editable? (still using JOptionPane of course)?
    Thank you to any one who can answer me.

    Hi,
    You could use the JOptionPane.showMessageDialog() in the following way:
    JComboBox comboBox = //Make your own JComboBox here
    Object[] message = new Object[] {
    "Make your choice:",
    comboBox
    JOptionPane.showMessageDialog(parent, message);
    In this way you are able to add every Component to your message dialog you want to.
    Hope that helps, Mathias

  • JOptionPane on Full Screen

    Greetings:
    I'm sure that this is not a new issue around this forums; yet, I've not been able to find the precise answer (including goggling it); I came here to take a little bit of your time for a hint :)
    My question is: how can I display a decorated JOptionPane in Fullscreen Mode? If I instantiate an OptionPane with the static contructor, it actually appears, but I just cannot make it look with decorations (so it looks quite unprofessional); if I give the parent frame with decorations, the Option pane is not shown correctly.
    By the other hand, if I try to instatiate by myself, it just not appears. I thank you a lot in advanced for your help about this issue.
    Regards.
    Here it goes my code:
    class Resolutions_ActionListener implements ActionListener {
    private MainWin eventFrame;
    private JComboBox comboBox;
    private ScreenResolutions scrnResolutions;
    public Resolutions_ActionListener (ScreenResolutions scrnResolutions, JComboBox comboBox, MainWin eventFrame) {
    this.comboBox = comboBox;
    this.eventFrame = eventFrame;
    this.scrnResolutions = scrnResolutions;
    } // end Resolutions_ActionListener() [constructor]
    public void actionPerformed(ActionEvent event) {
    int comboIndex = comboBox.getSelectedIndex();
    JOptionPane newResolution_Dialog = new JOptionPane(" pane title", JOptionPane.QUESTION_MESSAGE, JOptionPane.OK_CANCEL_OPTION);
    if (scrnResolutions.scrnDevice.isDisplayChangeSupported() && eventFrame.FullScrnOn) {
    scrnResolutions.scrnDevice.setDisplayMode(new DisplayMode(scrnResolutions.vector.get(comboIndex).width,
    scrnResolutions.vector.get(comboIndex).height,
    scrnResolutions.vector.get(comboIndex).bitDepth,
    scrnResolutions.vector.get(comboIndex).refreshRate));
    newResolution_Dialog.createDialog(eventFrame, " pane msj");
    newResolution_Dialog.validate();
    newResolution_Dialog.repaint();
    newResolution_Dialog.updateUI();
    newResolution_Dialog.setEnabled(true);
    newResolution_Dialog.setVisible(true);
    //none of these show it :(
    else { comboBox.hidePopup();
    JOptionPane.showMessageDialog(eventFrame, "resolution change only available at Full Screen.",
    " pane title", JOptionPane.INFORMATION_MESSAGE);
    //this pane is shown with but no decorations if on Full Screen Mode (as in Windowed mode works perfectly).
    } // end actionPerformed()
    } // end Resolutions_ActionListener.class

    Greetings dear developer friend:
    Now that I've got this suggestion this issue with the JOptionPane in full screen mode, my doubt would be what does it to "do it with a JDialog in modality variation". I can guess that this means that I should emulate the JOptionPane funtionality with a JDialog, is that it?
    By the other hand, you are right, I don't get exactly what does the modal variation implies.
    Thanks a lof for the quick and concerned interest in helping: this issues are not eassy to approach.
    Thanks a lot in advanced.
    Regards

  • ActionListener for ComboBox

    I'm trying to make the panel realign with the choice received from the ComboBox, but it's not responding at all. Any ideas?
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    public class Layout
         public static int x = 5;
         public static int y = 5;
         public static int itext;
         public static String align = new String();
         public static String RIGHT = new String();
         public static String CENTER = new String();
         public static String LEFT = new String();
         public static void main(String[] args)
              JFrame frame = new JFrame("Exercise 28_1");                   //creating JFrame
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              final JPanel panel = new JPanel();
              panel.setPreferredSize(new Dimension(650, 400));               //setting panel size
              //creating and setting the flowLayout to the panel
              final FlowLayout layout = new FlowLayout();
              panel.setLayout(layout);          
              //making the buttons and adding them to the panel
              panel.add(new JButton("Component 0"));
              panel.add(new JButton("Component 1"));
              panel.add(new JButton("Component 2"));
              panel.add(new JButton("Component 3"));
              panel.add(new JButton("Component 4"));
              panel.add(new JButton("Component 5"));
              panel.add(new JButton("Component 6"));
              panel.add(new JButton("Component 7"));
              panel.add(new JButton("Component 8"));
              panel.add(new JButton("Component 9"));
              panel.add(new JButton("Component 10"));
              panel.add(new JButton("Component 11"));
              panel.add(new JButton("Component 12"));
              panel.add(new JButton("Component 13"));
              panel.add(new JButton("Component 14"));
              //creating ComboxBox and TextFields, and determining their size
              final JComboBox alignment = new JComboBox(new String[]{"LEFT", "CENTER", "RIGHT"});
              alignment.setPreferredSize(new Dimension(570, 25));
              alignment.addActionListener(new ActionListener()   //creating the actionListener
                   public void actionPerformed(ActionEvent e)
                        align = (String)alignment.getSelectedItem();
                        if(align == RIGHT)
                             layout.setAlignment(FlowLayout.RIGHT);
                             System.out.println("right");
                             panel.revalidate();
                             panel.repaint();
                        if(align == CENTER)
                             layout.setAlignment(FlowLayout.CENTER);
                             System.out.println("Center");
                             panel.revalidate();
                             panel.repaint();
                        panel.repaint();
                        if(align == LEFT)
                             layout.setAlignment(FlowLayout.LEFT);
                             System.out.println("Left");
                             panel.revalidate();
                             panel.repaint();
              final JTextField hField = new JTextField();
              hField.setPreferredSize(new Dimension(600, 25));
              hField.addActionListener(new ActionListener()   //creating the actionListener
                   public void actionPerformed(ActionEvent e)
                        try
                             x = Integer.parseInt(hField.getText()); //parsing the text from the TextField
                        catch(NumberFormatException nfe)
                        JOptionPane.showMessageDialog(null,"Only Numeric Values Allowed"); //catching any non-numeric answers
                        hField.setText("");  //clearing the textField
                        layout.setHgap(x); //setting the Hgap with the entered answer
                        panel.revalidate();
                        hField.setText("");  //clearing the textField
                        panel.repaint();    //repainting the textField with new Hgap value
              final JTextField vField = new JTextField();
              vField.setPreferredSize(new Dimension(600, 25));
              vField.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent e)
                        try
                             y = Integer.parseInt(vField.getText());
                        catch(NumberFormatException nfe)
                        JOptionPane.showMessageDialog(null,"Only Numeric Values Allowed");
                        vField.setText("");
                        layout.setVgap(y);
                        System.out.println(y);
                        panel.revalidate();
                        vField.setText("");
                        panel.repaint();
              //adding content to panel - labels, comboBox, and TextFields
              panel.add(new JLabel("Alignment"));   
              panel.add(alignment);                         
              panel.add(new JLabel("HGap"));
              panel.add(hField);
              panel.add(new JLabel("VGap"));
              panel.add(vField);
              Container content = frame.getContentPane();
            content.setLayout(new BorderLayout());
            content.add(panel, BorderLayout.NORTH);
              frame.pack();
              frame.setVisible(true);
         } //end of main
    } //end of class

    Besides; I think you ment to do something like this:
         public static String align = "";
         public final static String RIGHT = "RIGHT";
         public final static String CENTER = "CENTER";
         public final static String LEFT = "LEFT";
         // but you still need to use the equals method in String:
         if (align.equals(RIGHT)) {
              // something
         }But try to remember (and notice) that the align.equals(RIGHT) checks the variable RIGHT, not the String "RIGHT", though, in this case, the variable called RIGHT in fact contains the String "RIGHT".

  • JOptionPane Confusion!

    Hi,
    Im having a real difficult time with JOptionPanes! Im still a newbie to Swing and I just cant seem to get my head around how to make the JOptionPanes do what you want them to! I've read the tutorials and manuals but im still stuck.
    Basically, I have a JButton that brings up a JOptionPane. In this, the user types in the name of a camera. This is then added to a combobox (cameralist).
    cameralist.addItem((JOptionPane.showInputDialog("Enter Camera Name")));
    The problem is, how do I get the JOptionPane to close without doing anything else? Where do I add the code? At the moment it still adds the user's entry when you select cancel or the x in the top right hand corner.
    Thanks for any help and Im sorry if I seem abit stupid!
    Rach

    First, trying to write a complex statement like that on a single line is bound to get you in trouble. Split the code up into several lines to make it readable, understandable and much easier to debug.
    The showInputDialog will return null if the user cancels the dialog (I suppose). You should write something like this:
    String result = JOptionPane.showInputDialog("Enter Camera Name");
    if( result != null && !result.equals("") )
      cameralist.addItem( result );
    }

  • Dynamic ComboBox

    Hi,
    I'd like to create a dynamic combobox that will add entries according to user input from a dialog box.
    Can anyone advise on how to achieve this?
    Thanks in advance
    Bulleo

    Hello,
    import java.awt.event.*;
    import javax.swing.*;
    public class ComboDialog extends JFrame
         JComboBox combo = null;
         ComboDialog()
              setDefaultCloseOperation(EXIT_ON_CLOSE);
              JPanel content = new JPanel();
              combo = new JComboBox(new String[] { "Please enter a new Entry" });
              JButton newEntry = new JButton("new Entry");
              newEntry.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent e)
                        combo.addItem(
                             JOptionPane.showInputDialog("Please enter a new Entry:"));
              content.add(newEntry);
              content.add(combo);
              setContentPane(content);
              setSize(200, 200);
              setLocationRelativeTo(null);
              setVisible(true);
         public static void main(String[] args)
              new ComboDialog();
    }Hope it helps,
    Regards
    Tim

  • ComboBox in OptionPane

    How can I get a ComboBox in my OptionPane?
    I want a dialog where I can choose a file from a
    directory with a ComboBox.
    Can I also use something else than an OptionPane?

    yes you can,
    One of the constructors for JOptionPane take an array of options,and the next parameter is the default option.
    JOptionPane(Object message, int messageType, int optionType, Icon icon, Object[] options, Object initialValue)
    Creates an instance of JOptionPane to display a message with the specified message type, icon, and options, with the initially-selected option specified.
    hope it helps

  • How to add an item  in the combobox list at runtime

    i want to add an item to the list of items in the combobox. How can I do this? I tried to use the methods getselecteditem() and getitem() from the actionlistener but no success.
    so after i add an item, the next time when i run that frame, that item should be displayed in the list of items in the combobox. Can anybody help me with this?

    Thanks Encephalophathic.
    Let me explain you the whole design -
    I have a frame having textfields and comboboxes. Now in the combobox, i have added some fields during design time and some i want the user to add at runtime. After the user clicks the Save button, i want the new string if entered in the combobox by the user at runtime to be added in the list of items of the combobox. So the next time when that frame is run, the item added by the user at runtime previously should be there in the list of items displayed in the combobox.
    What I am trying to do in this code at the combobox is if the user enters a new string in the combobox, then if he presses enter key, the value entered in the list of the combobox should be entered in the list of items of the combobox. Actually i m just trying to get the item typed in by the user, so just testing with enter key, but really i want it on the button click. I tried to add the code for adding an item to the combobox in the actionperformed, but i m not able to add it so confused what to do. Please help me with this.
    Here's the whole code for that -
    import java.awt.BorderLayout;
    import java.awt.FlowLayout;
    import java.awt.GridLayout;
    import java.awt.event.ActionEvent;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.BorderFactory;
    import javax.swing.JButton;
    import javax.swing.JLabel;
    import javax.swing.JTextField;
    import javax.swing.JMenu;
    import javax.swing.JMenuBar;
    import javax.swing.JMenuItem;
    import javax.swing.JCheckBoxMenuItem;
    import javax.swing.JComboBox;
    import java.awt.event.ActionListener;
    import javax.swing.JOptionPane;
    import javax.swing.JDialog.*;
    import javax.swing.JComboBox;
    public  class EnterFD implements ActionListener{
      private JFrame frame;
       private JPanel mainpanel,menupanel,userinputpanel,buttonpanel;
       private JMenuBar menubar;
       private JMenu menu,submenu;
       private JMenuItem menuitem;
       private JCheckBoxMenuItem cbmenuitem;
       private JLabel fdnumber;
       private JLabel bankname;
       private JLabel beneficiaryname;
       private JLabel entereddate;
       private JLabel maturitydate;
       private JLabel rateofinterest;
       private JLabel amount;
       private JLabel maturityamount;
       private JTextField fdnumbertxtfield;
       private JComboBox banknamecombobox;
       private JTextField beneficiarynametxtfield;
       private JComboBox entereddatecombobox;
       private JComboBox maturitydatecombobox;
       private JTextField rateofinteresttxtfield;
       private JTextField amounttxtfield;
       private JTextField maturityamounttxtfield;
       private JButton savebutton;
       private JButton clearbutton;
    public EnterFD() {
            initComponents();}
        private final void initComponents(){
            fdnumber = new JLabel("FD Number:");
            bankname = new JLabel("Bank Name:");
            beneficiaryname = new JLabel("Beneficiary Name:");
            entereddate = new JLabel("Entered Date:");
            maturitydate = new JLabel("Maturity Date:");
            rateofinterest = new JLabel("Rate Of Interest:");
            amount = new JLabel("Amount:");
            maturityamount = new JLabel("Maturity Amount:");
            fdnumbertxtfield = new JTextField();
            banknamecombobox = new JComboBox();
            banknamecombobox.addItem("State Bank Of India");
            banknamecombobox.addItem("Bank Of Baroda");
            banknamecombobox.addItem("IDBI Bank");
            banknamecombobox.addItem("ICICI Bank");
            banknamecombobox.addItem("Punjab National Bank");
            banknamecombobox.setEditable(true);
            banknamecombobox.setSelectedIndex(-1);
            banknamecombobox.addKeyListener(new java.awt.event.KeyAdapter() {
                @Override
                public void keyTyped(java.awt.event.KeyEvent evt) {
                    banknamecomboboxKeyTyped(evt);
            banknamecombobox.addKeyListener(new java.awt.event.KeyAdapter() {
                @Override
                public void keyReleased(java.awt.event.KeyEvent evt) {
                    banknamecomboboxKeyReleased(evt);
            beneficiarynametxtfield = new JTextField();
            entereddatecombobox = new JComboBox();
            maturitydatecombobox = new JComboBox();
            rateofinteresttxtfield = new JTextField();
            amounttxtfield = new JTextField();
            maturityamounttxtfield = new JTextField();
            menubar = new JMenuBar();
             menu = new JMenu("File");
             menubar.add(menu);
             menuitem = new JMenuItem("New");
             menu.add(menuitem);
             menuitem.addActionListener(this);
             menuitem = new JMenuItem("Save");
             menu.add(menuitem);
             menuitem.addActionListener(this);
             menuitem = new JMenuItem("Close");
             menu.add(menuitem);
             menuitem.addActionListener(this);
             menuitem = new JMenuItem("Exit");
             menu.add(menuitem);
             menuitem.addActionListener(this);
             menu = new JMenu("Edit");
             menubar.add(menu);
             menuitem = new JMenuItem("View FD");
             menu.add(menuitem);
             menuitem.addActionListener(this);
            mainpanel = new JPanel(new BorderLayout());
            menupanel = new JPanel(new BorderLayout());
            menupanel.add(menubar);
             userinputpanel = new JPanel(new GridLayout(8,2,5,20));
            userinputpanel.setBorder(BorderFactory.createEmptyBorder(50,50,80,80));
            userinputpanel.add(fdnumber);
            userinputpanel.add(fdnumbertxtfield);
            fdnumbertxtfield.setColumns(50);
            userinputpanel.add(bankname);
            userinputpanel.add(banknamecombobox);
            userinputpanel.add(beneficiaryname);
            userinputpanel.add(beneficiarynametxtfield);
            beneficiarynametxtfield.setColumns(50);
            userinputpanel.add(rateofinterest);
            userinputpanel.add(rateofinteresttxtfield);
            rateofinteresttxtfield.setColumns(50);
            userinputpanel.add(amount);
            userinputpanel.add(amounttxtfield);
            amounttxtfield.setColumns(50);
            userinputpanel.add(maturityamount);
            userinputpanel.add(maturityamounttxtfield);
            maturityamounttxtfield.setColumns(50);
            savebutton = new JButton("Save");
            clearbutton = new JButton("Clear");
            JPanel buttonpanel = new JPanel(new FlowLayout(FlowLayout.CENTER));
            buttonpanel.add(savebutton);
            buttonpanel.add(clearbutton);
            savebutton.addActionListener(this);
            clearbutton.addActionListener(this);
            mainpanel.add(menupanel,BorderLayout.NORTH);
            mainpanel.add(userinputpanel,BorderLayout.CENTER);
            mainpanel.add(buttonpanel,BorderLayout.SOUTH);
            frame = new JFrame("Enter FD");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setSize(3000,3000);
            frame.setContentPane(mainpanel);
            frame.pack();
            frame.setVisible(true); }

  • How to change font to jfilechooser or JOptionPanes

    I'm interesting in changing the font to the components of my JFileChooser , like the Aprove botton and the rest of the labels ,
    even I'm interested in changing the font to my JOptionPanes in my Aplications, I could see for examples that in the forte for java enviroment the jfilechoosers and joptionpanes have a different font from the standart.
    the thing is that I couldn't get the way, I would apreciate any help on this subjects, thanks very much.

    You need to change User Interface Parameters. I give you a piece of code...
    // Create a new font
    Font menuFont = new Font(
    PropertyManager.get("menu.font.name"),
    Integer.parseInt(PropertyManager.get("menu.font.style")),
    Integer.parseInt(PropertyManager.get("menu.font.size")));
    // Set components look and feel.
    UIDefaults defaults = UIManager.getDefaults();
    defaults.put("Menu.font", menuFont);
    defaults.put("MenuItem.font", menuFont);
    defaults.put("TabbedPane.font", menuFont);
    defaults.put("Label.font", menuFont);
    defaults.put("Button.font", menuFont);
    defaults.put("TextArea.font", menuFont);
    defaults.put("ComboBox.font", menuFont);
    defaults.put("List.font", menuFont);
    defaults.put("CheckBox.font", menuFont);
    See also Java Look and Feel tutorial on http://java.sun.com/products/jlf/ed1/dg/index.htm
    There is also a useful third-part plugin to simplify this work: see SkinLF on http://www.l2fprod.com

  • JavaHelp ToolTipText

    Hello,
    In a multilingual application JavaHelp ToolTipTexts of the toolbar are always given in the language of the default locale. If I do a
        helpbroker.setLocale(variableLocale);
        System.out.println(helpbroker.getLocale()); // this is fine.
        System.out.println(HelpUtilities.getString(variableLocale,"tip.previous"));whatever the locale, the text is always the same.
    jdk 1.4.1
    Is this known?
    Regards
    J�rg

    Hello Jana,
    thank you for your response. I do have a ResourceBundle, but use it up till now only for setting the OptionPane and the FileChooser via the UIManager, e.g.
        UIManager.put("OptionPane.cancelButtonText", cancelText);
        UIManager.put("FileChooser.upFolderToolTipText",
                   myBundle.getString("upFolderTTT"));Unlike JavaHelp, JFileChooser and JOptionPane do not have a method "setLocale(...)" - so I thought the procedure would be different there.
    Off course, I can try again with the UIManager, but for JavaHelp I don't know where to find the corresponding key names. Do you have an idea?
    Bye
    Joerg

  • Problems with adding a comboBox

    I am using a comboBox in my program and would like the user to be able to select the combobox to choose a payment. I got it to calculate once I input a value but I cannot figure out how to get it to calculate once I choose the year and term from the comboBox.
    import javax.swing.*;
    import javax.swing.border.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.event.*;
    import java.text.NumberFormat;
    import java.util.Locale;
    public class Peek3 extends JFrame implements ActionListener {
    int term = 0;
    double principal = 0;
    double rate = 0;
    double monthlyPayment = 0;
    double interest = 0;
    String mTerm[] = {"7", "15", "30"};
    String mInterst[] = {"5.35%", "5.50%", "5.75%"};
    JPanel row1 = new JPanel();
    JLabel lbMortgage = new JLabel("MORTGAGE CALCULATOR", JLabel.CENTER);
    JPanel radioPanel = new JPanel();
    JRadioButton aButton = new JRadioButton("Select Term & Rate Manually");
    JRadioButton bButton = new JRadioButton("Select Predefined Term & Rate");
    JPanel row2 = new JPanel(new GridLayout(1, 2));
    JLabel lbPrincipal = new JLabel("Mortgage Principal $",JLabel.LEFT);
    JTextField txtPrincipal = new JTextField(10);
    JPanel row3 = new JPanel(new GridLayout(1, 2));
    JLabel lbTerm = new JLabel("Mortgage Term (Years)",JLabel.LEFT);
    JTextField txtTerm = new JTextField(10);
    JPanel row4 = new JPanel(new GridLayout(1, 2));
    JLabel lbRate = new JLabel("Interest Rate (%)", JLabel.LEFT);
    JTextField txtRate = new JTextField(10);
    JPanel combo = new JPanel();
    JLabel termLabel = new JLabel(" Select a Mortgage Term & Interest Rate", JLabel.LEFT);
    String[] choice = {"7 Years at 5.35%", "15 Years at 5.50%", "30 Years at 5.75%"};
    JComboBox interestTerm = new JComboBox(choice);
    JPanel row5 = new JPanel(new GridLayout(1, 2));
    JLabel lbPayment = new JLabel("Monthly Payment $", JLabel.LEFT);
    JTextField txtPayment = new JTextField(10);
    //create buttons
    JPanel button = new JPanel(new FlowLayout( FlowLayout.LEFT, 10, 10));
    JButton clearButton = new JButton("Clear");
    JButton exitButton = new JButton("Exit");
    JButton calculateButton = new JButton("Calculate");
    JButton displayButton = new JButton("Display Payments");
    //set textarea to diplay payments
    JTextArea displayArea = new JTextArea(10, 45);
    JScrollPane scroll = new JScrollPane(displayArea);
    public Peek3()
    super ("Mortgage Calculator");
    setSize(550, 420);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    Container pane = getContentPane();
    Border rowborder = new EmptyBorder( 3, 10, 3, 10 );
    pane.add(row1);
    row1.add(lbMortgage);
    row1.setMaximumSize( new Dimension( 10000, row1.getMinimumSize().height ) );
    row1.setBorder( rowborder );
    lbMortgage.setForeground(Color.RED);
    row1.setBackground(Color.BLACK);
    ButtonGroup bgroup = new ButtonGroup();
    bgroup.add(aButton);
    bgroup.add(bButton);
    radioPanel.setLayout(new FlowLayout(FlowLayout.CENTER, 4,4));
    radioPanel.add(aButton);
    radioPanel.add(bButton);
    pane.add(radioPanel);
    pane.add(row2);
    row2.add(lbPrincipal);
    row2.add(txtPrincipal);
    row2.setMaximumSize( new Dimension( 10000, row2.getMinimumSize().height ) );
    row2.setBorder( rowborder );
    pane.add(row3);
    row3.add(lbTerm);
    row3.add(txtTerm);
    row3.setMaximumSize( new Dimension( 10000, row3.getMinimumSize().height ) );
    row3.setBorder( rowborder );
    pane.add(row4);
    row4.add(lbRate);
    row4.add(txtRate);
    row4.setMaximumSize( new Dimension( 10000, row4.getMinimumSize().height ) );
    row4.setBorder( rowborder );
    pane.add(combo);
    combo.add(termLabel);
    combo.add(interestTerm);
    pane.add(row5);
    row5.add(lbPayment);
    row5.add(txtPayment);
    txtPayment.setEnabled(false); //payment is set uneditable
    row5.setMaximumSize( new Dimension( 10000, row5.getMinimumSize().height ) );
    row5.setBorder( rowborder );
    button.add(calculateButton);
    button.add(clearButton);
    button.add(exitButton);
    button.add(displayButton);
    pane.add(button);
    displayButton.setEnabled(false);
    button.setMaximumSize( new Dimension( 10000, button.getMinimumSize().height ) );
    scroll.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
    pane.add(scroll);
    FlowLayout flo = new FlowLayout(FlowLayout.LEFT,10,10);
    pane.setLayout(flo);
    pane.setLayout(new BoxLayout( pane, BoxLayout.Y_AXIS ));
    setVisible(true);
    setContentPane(pane);
    //adds listerns to buttons
    clearButton.addActionListener(this);
    exitButton.addActionListener(this);
    calculateButton.addActionListener(this);
    displayButton.addActionListener(this);
    aButton.addActionListener(this);
    bButton.addActionListener(this);
    public void actionPerformed(ActionEvent event){
    Object command = event.getSource();
    if(command == calculateButton)
    try
    term = Integer.parseInt(txtTerm.getText());
    principal = Double.parseDouble(txtPrincipal.getText());
    rate = Double.parseDouble(txtRate.getText());
    interest = rate / 100.0 / 12.0;
    monthlyPayment = principal *(interest/(1-Math.pow(interest+1,-12.0*term)));
    NumberFormat myCurrencyFormatter;
    myCurrencyFormatter = NumberFormat.getCurrencyInstance(Locale.US);
    txtPayment.setText(myCurrencyFormatter.format(monthlyPayment));
    displayButton.setEnabled(true);
    catch(NumberFormatException e)
    JOptionPane.showMessageDialog(null, "Invaild Entry! Please Try Again", "ERROR", JOptionPane.ERROR_MESSAGE);
    if(command == clearButton)
    txtPrincipal.setText(null);
    txtTerm.setText(null);
    txtRate.setText(null);
    txtPayment.setText(null);
    displayArea.setText(null);
    if(command == exitButton)
    System.exit(0);
    public static void main(String[] arguments) {
    Peek3 wee = new Peek3();

    Please use the [ code][ /code] tokens to format your code. It's difficult to read, so just quickly glanced at it. It sounds like you need to add the action listener to your combobox.
    interestTerm.addActionListener(this);Also don't check the source of the event since it could be either the calculate button or the combobox (Or also qualify the combobox). Think about using anonymous/inner class action listeners.

Maybe you are looking for

  • I can't sync my iPod to iTunes on my mac or iPod.

    I have a ipod touch 5th gen and i have enver had problems with it until now, I can't update any apps nor can i sync my ipod to my mac. I don't think its my apple id because I can sign into itunes on my mac but not on my ipod. When I plug my ipod into

  • Import javax.media.* is not working

    Hi, I'm new to java and i was trying to create a media player using the javax.media package from the JMF. I installed it using the windows setup and it seemed to install correctly. Testing it with the java.sun.com applet tester worked. The media play

  • How do I find past registered Apple purchases?

    I thought there was a place where purchases from Apple were listed when one registers them? If so, where might that be found?

  • OSX 10.4.6 / Adobe CS2  Install conflict?

    I'm trying to install Adobe CS2 Premium. I've installed from this disk set on a number of G5's in our office successfully in the past. However, this was prior to OSX 10.4.6 I've attempted this install on 3 computers in my office. All PowerMac G5's ru

  • Transpoation module

    Dear sir, in sales order incoterms is pre nagpur andd in delivery we put route and forwarding agent all these stuffsa and do the PGI in vto1n . i m facing one problem in sales order pre nagpur is there and in delivery if we change pre to TPY nagpur a