Access ssl window

Any body know how to access the https window from the http window
once i secured the window with ssl then i am not able to access that
window.. Is there any solution for accessss ..
PLease reply ....
Message was edited by:
sat_hiya

Any body know how to access the https window from the http window
once i secured the window with ssl then i am not able to access that
window.. Is there any solution for accessss ..
PLease reply ....
Message was edited by:
sat_hiya

Similar Messages

  • I can't open mail on Hotmail from Firefox. I can from Safari. I can open the Hotmail account page and it is complete w/ my new messages, but when I go to open them I get this messeage..."Please refresh your browser window. When you access your Windows Liv

    I can't open mail on Hotmail from Firefox. I can from Safari. I can open the Hotmail account page and it is complete w/ my new messages, but when I go to open them I get this messeage..."Please refresh your browser window. When you access your Windows Live Hotmail account from more than one computer, we ask you to sign in again to help keep your account private and secure. " when I sign in again there is no change. in English
    == URL of affected sites ==
    http://http://sn135w.snt135.mail.live.com/default.aspx?n=2087215863
    == User Agent ==
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7

    "Clear the Cache": Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove the Cookies" from sites causing problems: Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    See http://kb.mozillazine.org/Clearing_the_cache and http://kb.mozillazine.org/Cookies

  • How can I disable remote access connection window ?

    When I try to connect (via TCP/IP) with a VI in another PC (in my local network) it appears the remote access connection window.
    How can I disable this (programmatically if possible) ?
    A big thanks for your answers.
    Linus

    Randy,
    attached the image of the Remote Access Connection Window that appears when I connect to the VI.
    It is the Operating System (Windows) classical panel for Remote Access connections using a modem.
    Many thanks.
    Linus
    Attachments:
    Remote_Access.jpg ‏22 KB

  • How can I disable the access to windows 2000(O.S.) from LabView?

    I need to disable the access to windows when an application (exe), created by LabView, is running. When the application is running, the user can not acces to windows (for example, execute another application) until he stops the application.
    I am using LabView 6.1 and windows 2000
    Many Thanks

    Hi Francesc,
    There are a couple of options for this. One of them could be calling Windows OS activex components and making the Desktop invisible through labVIEW and then bringing it back on after the LabVIEW execution is stopped.
    The other option is to modify user settings on the target machine. I have tried this on windows 2000 and it works.
    Run "gpedit.msc" from your start menu. In the Group Policy template choose the user configuration that you wish to make the settings for. Expand User Configuration , expand Administrative Templates , and then expand System. Choose 'Custom user interface'
    In this panel select 'Enabled' and enter the interface file name, in this case C:\Program Files\National Instruments\Labview 6.1.exe. (or your own filepath\App
    lication.exe). Reboot the machine.
    This replaces the default windows shell (explorer.exe) with your LabVIEW executable. When the operator logs on, the only thing on his screen is the Labview application. No desktop, no taskbar, no start button.
    This can also be done through LabVIEW using register-level programming. But it would be a more complex approach.
    Hope this helps.
    Regards,
    Pravin Borade
    Applications Engineer, National Instruments

  • How can I access the window so I can download to adobe and run the file rather than save it

    By mistake I put a check mark in the window box to save my downloads to documents. I want to send them directly to adobe so they can be seen. How do I access this window?

    hello, you can change that setting in firefox/tools > options > applications - there you can define the default action for the file-type in question (that will probably be '''portable document format (pdf)''' in your case).
    [[View PDF files in Firefox without downloading them]]
    [[Set how Firefox handles different types of files]]

  • Operations Manager Failed to Access the Windows Event Log and management server is showing warning state

    Hi,
    I am monitoring AD server from SCOM 2012 R2. My management server goes into waning state. When i run Health explorer then it come back in the healthy state but after some time it again goes into warning state. After seeing alert i found that a alert is coming
    again and again i.e.  Operations Manager Failed to Access the Windows Event Log.The description of alert is mention below
    The Windows Event Log Provider is still unable to open the DhcpAdminEvents event log on computer 'nc2vws12ad5.corp.nathcorp.com'.
    The Provider has been unable to open the DhcpAdminEvents event log for 64080 seconds.
    Most recent error details: The RPC server is unavailable.
    Please suggest me how to resolve this so that my management server will again come back in healthy state.
    Thanks
    Abhishek

    Hi Abhishek,
    As i mentioned earlier the Alert resolution says the same points.
    Can you give details on the below ?
    Is there really a log named "Dhcpadminevents" in the MS's Event viewer ?
    Did you recently configure any new alert where you mentioned "Dhcpadminevents"
    as a event log location ?
    If yes then what is the target you selected for the rule / monitor there ?
    Can you post the results for analysis ?
    Gautam.75801

  • Connecting to MS Access In Windows 7 64-Bit

    Hi.
    As usual, Microsoft has done its best to make this as difficult as possible. The essence of a solution to this problem that I found at http://sushantnayak.wordpress.com/2010/10/25/connect-ms-access-using-jdbc-odbc-in-windows-7-64-bit/ is as follows:
    1. Download and run AccessDatabaseEngine_x64.exe
    (http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c06b8369-60dd-4b64-a44b-84b371ede16d&displaylang=en)
    2. Change the connection string in your code to:
    Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBQ= <-db name and path here
    Though the author of the tip had used VB to make the connection, it looked as though the same technique should work with Java. However, I found that the attempted connection kept generating an SQLException. The code that I tried to run is shown below.
    import java.sql.*;
    public class JDBCTest2
    public static void main(String[] args)
    Connection connection = null;
    Statement statement = null;
    ResultSet results = null;
    String fileName = "F:\\Temp\\Finances.mdb";
    I also tried the following (with different fields below):
    String fileName = "F:\\Temp\\ExamResults.accdb";
    String dbString =
    "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBQ="
    + fileName + ";DriverID=22;READONLY=false}";
    //I also tried the above without ';DriverID=22;READONLY=false', but the
    //result was exactly the same.
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    connection = DriverManager.getConnection(dbString, "", "");
    catch (ClassNotFoundException cnfEx)
    System.out.println("* Unable to load driver! *");
    System.exit(1);
    catch (SQLException sqlEx)
    System.out.println("* Cannot connect to database! *");
    //The above message was displayed.
    System.exit(1);
    try
    statement = connection.createStatement();
    results = statement.executeQuery("SELECT * FROM Accounts");
    catch (SQLException sqlEx)
    System.out.println("* Cannot execute query! *");
    System.exit(1);
    try
    while(results.next())
    System.out.println("Account no. " + results.getInt(1));
    System.out.println("Account holder: " + results.getString(3)
    + " " + results.getString(2));
    System.out.printf("Balance: %.2f %n%n",results.getFloat(4));
    catch (SQLException sqlEx)
    System.out.println("* Error retrieving data! *");
    System.exit(1);
    Any help in solving this problem would be most appreciated.
    Thanks.
    Jan ('Yan')

    I believe that my problem may be due to using a 32-bit Access database, rather than a 64-bit one. I am fully aware of how to use c:\windows\syswow64\odbcad32.exe to get round the problem of setting up the required ODBC data source, and that is what I shall be making use of for at least the next year, as I have just been informed that it will be the 32-bit version of MS Access (with Windows 7) that will be used at my institution for the coming academic session. (I lecture at a university.)
    As a consequence of the above, it turns out that I don't really have a problem for the foreseeable future. However, I would like to know (for personal satisfaction, if nothing else) whether the test program would work if it were used with a 64-bit Access database. Unfortunately, it looks as though I won't have the use of a 64-bit version of Access. Consequently, I would be most grateful if anybody out there could try out my test program with 64-bit Access. Obviously, the appropriate database would need to be set up (or an existing one used and the name/path changed accordingly), but the fields wouldn't even have to be set up to match mine. As long as the program gets past the 'Cannot connect to database error message', I'll be happy.
    Thanks.
    Jan

  • I have a mac mini server which I want to set up for remote access from windows and mac pcs.  How do I do this.  I can access it form my home network OK

    I have a mac mini server which I want to set up for remote access from windows and mac pcs.  How do I do this.  I can access it form my home network OK

    Posted in error.

  • Ssd access freeze windows 7/8

    i had corsair force 128GB on my macbook pro. i installed mac os and windows 7 as bootcamp. i had no problem except disk space. i bought neutron 256gb. i have problems on windows 7. it is like it freeze on disk access. so windows 7 is so slow. i wait for seconds to open a windows. mac os works well like on corsair force. i have also parallels. i can run the same windows 7 in parallels well. it is fast. i installed the latest bootcamp drivers. now i upgraded window 7 to window 8: i have the same problem. what can i do?

    i have  an activex dll.
    Allow me to explain the whole picture here, I have an API developed for Windows environment that integrates with a third-party camera drivers, of which I have a 32 bit version and a 64 bit version... both work well on desktop environments without any problem.
    Recently, I was asked to export my API for web access so that people can integrate my API with their web pages just like they do on desktop applications to call my camera, basically a Web API
    I'm no expert in web so I did my research, and with the limited information I have, I found a way to expose my API by registering the assembly of an exposed dll that I created using the .Net regasm tool. This worked fine on 32 bit machines with one setback:
    I had to Enable the "Initialize and script ActiveX controls not marked as safe for scripting" from IE options, but now when I tried to do the same thing on a 64 bit machine, it didn't work. I used the 64 bit regasm tool this time just like I'm suppose
    to do, and I was able to register successfully using the same command "regasm mydll.dll /register /codebase /tlb" 
    Now when I try to initiate the call to my API through JavaScript such as
    var myAx = new ActiveXObject("MyAPI.WebInterface");
    I keep getting the error message "Automation server can't create object" even though my settings are the same as the 32 bit machine and I used the 64 bit IE here. I tried using my 32 bit version of the API on the 64 bit machine after registering it
    correctly of course, and I managed to get passed that point, but my 32 bit API cannot call the 64 bit camera driver, so it wont do for this case.
    Is there any specific command I need to add in order to register correctly on 64 bit machines? Is this the right way to expose my API for web use?? and is there a way I can support all browsers at the same time, noting that this only works on IE?? please advice

  • The latest version of iTunes will not work with my windows platforms. It cannot access the windows runtime library.

    The latest iTunes can't access my windows (including Vista 32 & 64bit, nor Windows 7 64 bit and 32 bit versions) "Runtime" library. I've tried reloading the windows suggested .dll as well as doing a system restore and also downloaded the iTunes update and load it manually, but nothing will work. Is Apple aware of the problem and planning to release a fix, or do I have to abandon iTunes and my iPod?

    Hello there, Enantiomer.
    The following Knowledge Base article provides some recommendations for troubleshooting:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Check for .dll files
    Go to C:\Program Files (x86)\iTunes and C:\Program Files\iTunes and look for .dll files.
    If you find QTMovie.DLL, or any other .dll files, move them to the desktop.
    Reboot your computer.
    Note: Depending on your operating system, you may only have one of the listed paths.
    Uninstall and reinstall iTunes
    Uninstall iTunes and all of its related components.
    Reboot your computer. If you can't uninstall a piece of Apple software, try using the Microsoft Program Install and Uninstall Utility.
    Re-download and reinstall iTunes 11.1.4.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Accessing Another Window Fault

    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.Arrays;
    public class PasswordDemo extends JPanel   implements ActionListener {
        private static String OK = "ok";
        private static String HELP = "help";
        private JFrame controllingFrame; //needed for dialogs
        private JPasswordField passwordField;
        private javax.swing.JLabel jLabel1;
        private javax.swing.JLabel jLabel2;
        private javax.swing.JPanel jPanel1;
        private javax.swing.JPanel jPanel2;
        private javax.swing.JTextField jTextField1;
        private javax.swing.JTextField jTextField2;
        public PasswordDemo(JFrame f) {
            //Use the default FlowLayout.
            controllingFrame = f;
            //Create everything.
            passwordField = new JPasswordField(10);
            passwordField.setActionCommand(OK);
            passwordField.addActionListener(this);
            JLabel label = new JLabel("Enter the password: ");
            label.setLabelFor(passwordField);
            JComponent buttonPane = createButtonPanel();
            //Lay out everything.
            JPanel textPane = new JPanel(new FlowLayout(FlowLayout.TRAILING));
            textPane.add(label);
            textPane.add(passwordField);
            add(textPane);
            add(buttonPane);
        protected JComponent createButtonPanel() {
            JPanel p = new JPanel(new GridLayout(0,1));
            JButton okButton = new JButton("OK");
            JButton helpButton = new JButton("Help");
            okButton.setActionCommand(OK);
            helpButton.setActionCommand(HELP);
            okButton.addActionListener(this);
            helpButton.addActionListener(this);
            p.add(okButton);
            p.add(helpButton);
            return p;
        public void actionPerformed(ActionEvent e) {
            String cmd = e.getActionCommand();
            if (OK.equals(cmd)) { //Process the password.
                char[] input = passwordField.getPassword();
                if (isPasswordCorrect(input)) {
                 //   JOptionPane.showMessageDialog(controllingFrame, "Success! You typed the right password.");      
                     //class BasicPanel extends JPanel {
                //          public BasicPanel() {
                               JButton okButton = new JButton("ok");
                               okButton.addActionListener(new ActionListener() {
                                    public void actionPerformed(ActionEvent arg0) {
                                         test2 inputForm = new test2();
                                         inputForm.setVisible(true);
                               add(okButton);
                     class test2 extends javax.swing.JFrame {
                         public test2() {
                             initComponents();
                         private void initComponents() {
                             jPanel1 = new javax.swing.JPanel();
                             jButton1 = new javax.swing.JButton();
                             jButton2 = new javax.swing.JButton();
                             setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
                             jButton1.setText("jButton1");
                             jButton2.setText("jButton2");
                             javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
                             jPanel1.setLayout(jPanel1Layout);
                             jPanel1Layout.setHorizontalGroup(
                                 jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                 .addGroup(jPanel1Layout.createSequentialGroup()
                                     .addContainerGap()
                                     .addComponent(jButton1)
                                     .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                     .addComponent(jButton2)
                                     .addContainerGap(196, Short.MAX_VALUE))
                             jPanel1Layout.setVerticalGroup(
                                 jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                 .addGroup(jPanel1Layout.createSequentialGroup()
                                     .addContainerGap()
                                     .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                         .addComponent(jButton1)
                                         .addComponent(jButton2))
                                     .addContainerGap(174, Short.MAX_VALUE))
                             javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
                             getContentPane().setLayout(layout);
                             layout.setHorizontalGroup(
                                 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                 .addGroup(layout.createSequentialGroup()
                                     .addContainerGap()
                                     .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                     .addContainerGap(24, Short.MAX_VALUE))
                             layout.setVerticalGroup(
                                 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                 .addGroup(layout.createSequentialGroup()
                                     .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                     .addContainerGap(92, Short.MAX_VALUE))
                             pack();
                         }// </editor-fold>
                          * @param args the command line arguments
                         // Variables declaration - do not modify
                         private javax.swing.JButton jButton1;
                         private javax.swing.JButton jButton2;
                         private javax.swing.JPanel jPanel1;
                         // End of variables declaration
               else {
                    JOptionPane.showMessageDialog(controllingFrame,
                        "Invalid password. Try again.",
                        "Error Message",
                        JOptionPane.ERROR_MESSAGE);
                //Zero out the possible password, for security.
                Arrays.fill(input, '0');
                passwordField.selectAll();
                resetFocus();
            } else { //The user has asked for help.
                JOptionPane.showMessageDialog(controllingFrame,
                    "You can get the password by searching this example's\n"
                  + "source code for the string \"correctPassword\".\n"
                  + "Or look at the section How to Use Password Fields in\n"
                  + "the components section of The Java Tutorial.");
         * Checks the passed-in array against the correct password.
         * After this method returns, you should invoke eraseArray
         * on the passed-in array.
        private static boolean isPasswordCorrect(char[] input) {
            boolean isCorrect = true;
            char[] correctPassword = { 'b', 'u', 'g', 'a', 'b', 'o', 'o' };
            if (input.length != correctPassword.length) {
                isCorrect = false;
            } else {
                isCorrect = Arrays.equals (input, correctPassword);
            //Zero out the password.
            Arrays.fill(correctPassword,'0');
            return isCorrect;
        //Must be called from the event dispatch thread.
        protected void resetFocus() {
            passwordField.requestFocusInWindow();
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event dispatch thread.
        private static void createAndShowGUI() {
            //Create and set up the window.
            JFrame frame = new JFrame("PasswordDemo");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            //Create and set up the content pane.
            final PasswordDemo newContentPane = new PasswordDemo(frame);
            newContentPane.setOpaque(true); //content panes must be opaque
            frame.setContentPane(newContentPane);
            //Make sure the focus goes to the right component
            //whenever the frame is initially given the focus.
            frame.addWindowListener(new WindowAdapter() {
                public void windowActivated(WindowEvent e) {
                    newContentPane.resetFocus();
            //Display the window.
            frame.pack();
            frame.setVisible(true);
        public static void main(String[] args) {
            //Schedule a job for the event dispatch thread:
            //creating and showing this application's GUI.
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    //Turn off metal's use of bold fonts
              UIManager.put("swing.boldMetal", Boolean.FALSE);
              createAndShowGUI();
    }Hey there everyone, i am trying to access another window using swing. I am trying to do so via password verification, when the use inputs the right password it should grant them access to the form fillout page which i am building. Problem is that there is something wrong when i input the right password and click "OK". Its not going through and giving me access to the next page. I just need pointers as to what i should fix. Thank you very much.

    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.Arrays;
    /* PasswordDemo.java requires no other files. */
    public class PasswordDemo extends JPanel
                              implements ActionListener {
        private static String OK = "ok";
        private static String HELP = "help";
        private JFrame controllingFrame; //needed for dialogs
        private JPasswordField passwordField;
        private javax.swing.JLabel jLabel1;
        private javax.swing.JLabel jLabel2;
        private javax.swing.JLabel jLabel3;
        private javax.swing.JTextField jTextField1;
        private javax.swing.JTextField jTextField2;
        private javax.swing.JTextField jTextField3;
        public PasswordDemo(JFrame f) {
            //Use the default FlowLayout.
            controllingFrame = f;
            //Create everything.
            passwordField = new JPasswordField(10);
            passwordField.setActionCommand(OK);
            passwordField.addActionListener(this);
            JLabel label = new JLabel("Enter the password: ");
            label.setLabelFor(passwordField);
            JComponent buttonPane = createButtonPanel();
            //Lay out everything.
            JPanel textPane = new JPanel(new FlowLayout(FlowLayout.TRAILING));
            textPane.add(label);
            textPane.add(passwordField);
            add(textPane);
            add(buttonPane);
        protected JComponent createButtonPanel() {
            JPanel p = new JPanel(new GridLayout(0,1));
            JButton okButton = new JButton("OK");
            JButton helpButton = new JButton("Help");
            okButton.setActionCommand(OK);
            helpButton.setActionCommand(HELP);
            okButton.addActionListener(this);
            helpButton.addActionListener(this);
            p.add(okButton);
            p.add(helpButton);
            return p;
        public void actionPerformed(ActionEvent e) {
            String cmd = e.getActionCommand();
            if (OK.equals(cmd)) { //Process the password.
                char[] input = passwordField.getPassword();
                if (isPasswordCorrect(input)) {
                 //   JOptionPane.showMessageDialog(controllingFrame,
                 //       "Success! You typed the right password.");
                      jLabel1 = new javax.swing.JLabel();
                     jLabel2 = new javax.swing.JLabel();
                     jLabel3 = new javax.swing.JLabel();
                     jTextField1 = new javax.swing.JTextField();
                     jTextField2 = new javax.swing.JTextField();
                     jTextField3 = new javax.swing.JTextField();
                     jLabel1.setText("Name: ");
                     jLabel2.setText("Age: ");
                     jLabel3.setText("Height: ");
                     jTextField1.setText("jTextField1");
                     jTextField2.setText("jTextField2");
                     jTextField3.setText("jTextField3");
                     javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
                     getContentPane().setLayout(layout);
                     layout.setHorizontalGroup(
                         layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                         .addGroup(layout.createSequentialGroup()
                             .addGap(23, 23, 23)
                             .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                 .addGroup(layout.createSequentialGroup()
                                     .addComponent(jLabel1)
                                     .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                     .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                 .addGroup(layout.createSequentialGroup()
                                     .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                         .addComponent(jLabel2)
                                         .addComponent(jLabel3))
                                     .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                     .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                         .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                         .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
                             .addContainerGap(274, Short.MAX_VALUE))
                     layout.setVerticalGroup(
                         layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                         .addGroup(layout.createSequentialGroup()
                             .addGap(23, 23, 23)
                             .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                 .addComponent(jLabel1)
                                 .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                             .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                             .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                 .addComponent(jLabel2)
                                 .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                             .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                             .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                 .addComponent(jLabel3)
                                 .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                             .addContainerGap(205, Short.MAX_VALUE))
                     pack();
                } else {
                    JOptionPane.showMessageDialog(controllingFrame,
                        "Invalid password. Try again.",
                        "Error Message",
                        JOptionPane.ERROR_MESSAGE);
                //Zero out the possible password, for security.
                Arrays.fill(input, '0');
                passwordField.selectAll();
                resetFocus();
            } else { //The user has asked for help.
                JOptionPane.showMessageDialog(controllingFrame,
                    "You can get the password by searching this example's\n"
                  + "source code for the string \"correctPassword\".\n"
                  + "Or look at the section How to Use Password Fields in\n"
                  + "the components section of The Java Tutorial.");
         * Checks the passed-in array against the correct password.
         * After this method returns, you should invoke eraseArray
         * on the passed-in array.
        private static boolean isPasswordCorrect(char[] input) {
            boolean isCorrect = true;
            char[] correctPassword = { 'b', 'u'};
            if (input.length != correctPassword.length) {
                isCorrect = false;
            } else {
                isCorrect = Arrays.equals (input, correctPassword);
            //Zero out the password.
            Arrays.fill(correctPassword,'0');
            return isCorrect;
        //Must be called from the event dispatch thread.
        protected void resetFocus() {
            passwordField.requestFocusInWindow();
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event dispatch thread.
        class test2 extends javax.swing.JFrame {
            public test2() {
                initComponents();
            private void initComponents() {
                jPanel1 = new javax.swing.JPanel();
                jButton1 = new javax.swing.JButton();
                jButton2 = new javax.swing.JButton();
                setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
                jButton1.setText("jButton1");
                jButton2.setText("jButton2");
                javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
                jPanel1.setLayout(jPanel1Layout);
                jPanel1Layout.setHorizontalGroup(
                    jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jButton1)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jButton2)
                        .addContainerGap(196, Short.MAX_VALUE))
                jPanel1Layout.setVerticalGroup(
                    jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jButton1)
                            .addComponent(jButton2))
                        .addContainerGap(174, Short.MAX_VALUE))
                javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
                getContentPane().setLayout(layout);
                layout.setHorizontalGroup(
                    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap(24, Short.MAX_VALUE))
                layout.setVerticalGroup(
                    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap(92, Short.MAX_VALUE))
                pack();
            }// </editor-fold>
             * @param args the command line arguments
            // Variables declaration - do not modify
            private javax.swing.JButton jButton1;
            private javax.swing.JButton jButton2;
            private javax.swing.JPanel jPanel1;
            // End of variables declaration
        private static void createAndShowGUI() {
            //Create and set up the window.
            JFrame frame = new JFrame("PasswordDemo");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            //Create and set up the content pane.
            final PasswordDemo newContentPane = new PasswordDemo(frame);
            newContentPane.setOpaque(true); //content panes must be opaque
            frame.setContentPane(newContentPane);
            //Make sure the focus goes to the right component
            //whenever the frame is initially given the focus.
            frame.addWindowListener(new WindowAdapter() {
                public void windowActivated(WindowEvent e) {
                    newContentPane.resetFocus();
            //Display the window.
            frame.pack();
            frame.setVisible(true);
        public static void main(String[] args) {
            //Schedule a job for the event dispatch thread:
            //creating and showing this application's GUI.
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    //Turn off metal's use of bold fonts
              UIManager.put("swing.boldMetal", Boolean.FALSE);
              createAndShowGUI();
    }Alright so i applied what you told me and tried to insert a new JFrame window with buttons and text fields. But i keep getting errors getContentPane() and the pack() in the end. I really can't figure out whats causing the error.
    Edited by: 860597 on May 22, 2011 3:37 PM

  • Can't access my windows dashboard

    Hello,
    Since few days i can't access my windows store dashboard but can access windows phone dashboard. Is anyone facing such problem? Any solution?
    -Janak

    Hello Janaks,
    Are you still experiencing issues with signing into your developer dashboard? 
    If so, please try using IE11 InPrivate Browsing.  If that still doesn't work please open a support ticket with:
    Dev Center Support.
    -Miles
    Windows and Windows Phone Dev Center Support
    Send us your feedback about the Windows Platform

  • I cannot access Content Library in iMovie - Content Library doesn't show on the iMovie screen and is greyed out when accessed through "windows" tab at the top. Also unable to update the projects/events (a suggested solution for a similar question).

    I cannot access Content Library in iMovie - Content Library doesn't show on the iMovie screen and is greyed out when accessed through "windows" tab at the top. Also unable to update the projects/events (a suggested solution for a similar question). I haven't had this issue before, I have always used the content library on the screen but haven't used this for about a month. How can I make the Content Library available?

    Thanks so much! I am backing up the entire computer now with an external hard drive - this should be fine right? And surely if I am backing up the whole computer these projects/videos will be backed up too? I wasn't sure how to do this any other way and I am clearly not great with tech issues. Once this is done and I am sure my projects/videos are safe I will do the delete and reinstall bit. Thanks for taking the time to help

  • I am accessing a windows server using remote desktop and I am wondering if I can transfer files by sharing drives?

    I am accessing a windows server using remote desktop and I am wondering if I can transfer files by sharing drives?

    Probably. You may be able to use Finder > Go > Connect to server to access the server. You may be able to share folders using Remote Desktop too. Whichever one you like the best.

  • Migrating music to an external hard drive for access by Windows

    Existing discussion thread link: https://discussions.apple.com/thread/1715002?start=0&tstart=0
    Hi,
    I have a large (~212GB) iTunes music library that was created using iTunes on Windows. All music files, etc are held on an external drive. Now I want to be able to access my existing music library from my MacBook Pro running iTunes on OS X. When I launch iTunes I hit the key so I can select which library file it should use. I'm not currently able to select my iTunes library on the external hard disk.
    I've tried following the steps covered in an existing discussion thread that I have found, Migrating music to an external hard drive for access by Windows & Mac, but that hasn't worked for me unfortunately. The linked post suggests renaming the library file (.itl) to remove its extension but the library is read-only. I've also tried doing the same when the external hard disk is connnected to my windows laptop and then switching back over to my MacBook Pro. But this has also not worked yet.
    Any suggestions? Thanks.

    Existing discussion thread link: https://discussions.apple.com/thread/1715002?start=0&tstart=0
    Hi,
    I have a large (~212GB) iTunes music library that was created using iTunes on Windows. All music files, etc are held on an external drive. Now I want to be able to access my existing music library from my MacBook Pro running iTunes on OS X. When I launch iTunes I hit the key so I can select which library file it should use. I'm not currently able to select my iTunes library on the external hard disk.
    I've tried following the steps covered in an existing discussion thread that I have found, Migrating music to an external hard drive for access by Windows & Mac, but that hasn't worked for me unfortunately. The linked post suggests renaming the library file (.itl) to remove its extension but the library is read-only. I've also tried doing the same when the external hard disk is connnected to my windows laptop and then switching back over to my MacBook Pro. But this has also not worked yet.
    Any suggestions? Thanks.

Maybe you are looking for

  • SOLMAN- Change Request Management

    we have a request from one of our customers a big insurance company, to use the "change request management" out of the SOLMAN for non-SAP solutions. is it possible ? what are the advantages and disadvantages? thanks Amnon

  • Upgrading to Mavericks from 10.6.8 with boot camp partition already for Windows 7

    Hello, I have a 2011 27" iMac/16GB ram/1TB HD on OS X 10.6.8 I did upgrade it to 10.7 but it changed too much stuff I did not like, so it was a nightmare to get back to 10.6.8 Anyway, I have a partition on there with Windows 7 Ultimate 64 bit that wh

  • Text or merge fields

    I am formatting a book that makes reference to the book title in several locations (headers, title page, copyright info, etc.) but the final title has not been finalized. Is there a way to create a text field (similar to a merge field, I guess) that

  • Minimize windows in CS3 Suite on WINDOWS 7

    Has anyone else experienced this??? or know of a way to fix it? When minimizing windows in Photoshop/Illy (the cs3 package) they go really small and display the X (close window sign) really big so when you want to Maximize you hit the close window bu

  • CUDAC ver 8.0.3

    Hi, I'm a new member to this forum and recently installed and integrated the CUDAC ver 8.0.3 with call manager ver 8.0 in the lab. I do have 2 ports each of CT,Service and Park Queue, but I observe  something different when I answered a first call fr