Visual Class: Set a label in main window from dialog box

Hi,
Firstly my project is a visual project and at the time being has only 2 classes, both visual. One a main window and then one a dialog.
The project is about a gym membership, and what i want it to do at the moment is to set the name text box i have in the main window by typying it in another text box in my dialog. Understand?
This is my text field method in MainWindow...
public JTextField getNameTextField() {
          if (NameTextField == null) {
               NameTextField = new JTextField();
               NameTextField.setBounds(new Rectangle(164, 28, 193, 26));
          return NameTextField;
     }And my New Member text field in the dialog, called NameDialog
private JTextField getNewMemberTextField() {
          if (NewMemberTextField == null) {
               NewMemberTextField = new JTextField();
               NewMemberTextField.setBounds(new Rectangle(36, 56, 209, 28));
          return NewMemberTextField;
     }In the dialog i have created a button called,"OK" and if i press it without entering a String then an error box appears which all works correctly. Then as you can see if i enter a String here i want this String to be entered and showed in my MainWindow class in the name text box.
But this is not working and i am having trouble here after the else...
else {
GymMembershipMainWindow mainWindow = new GymMembershipMainWindow();                                 mainWindow.getNameTextField().setText(getNewMemberTextField().getText());                              
NameDialog.this.setVisible(false);Sorry but do you understand what i am trying to do? Apologies if any of it is unclear.
Would appreciate any help. Thank you.

Ok well there is quite a bit, but only 2 classes. This is the first class which is the main class.
     package membership;
import javax.swing.SwingUtilities;
import java.awt.BorderLayout;
import javax.swing.JPanel;
import javax.swing.JFrame;
import java.awt.Dimension;
import javax.swing.JMenu;
import java.awt.Rectangle;
import javax.swing.JMenuItem;
import javax.swing.JMenuBar;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JRadioButton;
import javax.swing.ButtonGroup;
public class GymMembershipMainWindow extends JFrame {
     private static final long serialVersionUID = 1L;
     private JPanel jContentPane = null;
     private JMenuBar applicationMenuBar = null;
     private JMenu memberMenu = null;
     private JMenuItem changeNameMenuItem = null;
     private JMenuItem changeAddressMenuItem = null;
     private JLabel NameLabel = null;
     private JLabel AddressLabel = null;
     private JTextField NameTextField = null;
     private JTextField AddressTextField = null;
     private JLabel MembershipTypeLabel = null;
     private JRadioButton MonthlyRadioButton = null;
     private JRadioButton AnnualRadioButton = null;
     private JLabel PersonalTrainerLabel = null;
     private ButtonGroup group = new ButtonGroup();
      * This method initializes applicationMenuBar     
      * @return javax.swing.JMenuBar     
     private JMenuBar getApplicationMenuBar() {
          if (applicationMenuBar == null) {
               applicationMenuBar = new JMenuBar();
               applicationMenuBar.add(getMemberMenu());
          return applicationMenuBar;
      * This method initializes memberMenu     
      * @return javax.swing.JMenu     
     private JMenu getMemberMenu() {
          if (memberMenu == null) {
               memberMenu = new JMenu();
               memberMenu.setText("Member");
               memberMenu.add(getChangeNameMenuItem());
               memberMenu.add(getChangeAddressMenuItem());
          return memberMenu;
      * This method initializes changeNameMenuItem     
      * @return javax.swing.JMenuItem     
     private JMenuItem getChangeNameMenuItem() {
          if (changeNameMenuItem == null) {
               changeNameMenuItem = new JMenuItem();
               changeNameMenuItem.setText("Change Name");
               changeNameMenuItem.addActionListener(new java.awt.event.ActionListener() {
                    public void actionPerformed(java.awt.event.ActionEvent e) {
                    NameDialog dialog = new NameDialog();
                    dialog.setLocationRelativeTo(GymMembershipMainWindow.this);
                    dialog.setModal(true);
                    dialog.setVisible(true);
          return changeNameMenuItem;
      * This method initializes changeAddressMenuItem     
      * @return javax.swing.JMenuItem     
     private JMenuItem getChangeAddressMenuItem() {
          if (changeAddressMenuItem == null) {
               changeAddressMenuItem = new JMenuItem();
               changeAddressMenuItem.setText("Change Address");
          return changeAddressMenuItem;
      * This method initializes NameTextField     
      * @return javax.swing.JTextField     
     public JTextField getNameTextField() {
          if (NameTextField == null) {
               NameTextField = new JTextField();
               NameTextField.setBounds(new Rectangle(164, 28, 193, 26));
          return NameTextField;
      * This method initializes AddressTextField     
      * @return javax.swing.JTextField     
     private JTextField getAddressTextField() {
          if (AddressTextField == null) {
               AddressTextField = new JTextField();
               AddressTextField.setBounds(new Rectangle(165, 74, 192, 26));
          return AddressTextField;
      * This method initializes MonthlyRadioButton     
      * @return javax.swing.JRadioButton     
     private JRadioButton getMonthlyRadioButton() {
          if (MonthlyRadioButton == null) {
               MonthlyRadioButton = new JRadioButton();
               MonthlyRadioButton.setBounds(new Rectangle(171, 119, 73, 21));
               MonthlyRadioButton.setText("Monthly");
               group.add(MonthlyRadioButton);
               MonthlyRadioButton.setSelected(true);
          return MonthlyRadioButton;
      * This method initializes AnnualRadioButton     
      * @return javax.swing.JRadioButton     
     private JRadioButton getAnnualRadioButton() {
          if (AnnualRadioButton == null) {
               AnnualRadioButton = new JRadioButton();
               AnnualRadioButton.setBounds(new Rectangle(269, 121, 70, 21));
               AnnualRadioButton.setText("Annual");
               group.add(AnnualRadioButton);
          return AnnualRadioButton;
      * @param args
     public static void main(String[] args) {
          // TODO Auto-generated method stub
          SwingUtilities.invokeLater(new Runnable() {
               public void run() {                    
                    GymMembershipMainWindow thisClass = new GymMembershipMainWindow();
                    thisClass.setLocationRelativeTo(null);
                    thisClass.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                    thisClass.setVisible(true);
      * This is the default constructor
     public GymMembershipMainWindow() {
          super();
          initialize();
      * This method initializes this
      * @return void
     private void initialize() {
          this.setSize(500, 300);
          this.setJMenuBar(getApplicationMenuBar());
          this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          this.setContentPane(getJContentPane());
          this.setTitle("Gym Membership");
      * This method initializes jContentPane
      * @return javax.swing.JPanel
     private JPanel getJContentPane() {
          if (jContentPane == null) {
               PersonalTrainerLabel = new JLabel();
               PersonalTrainerLabel.setBounds(new Rectangle(30, 158, 110, 21));
               PersonalTrainerLabel.setText("Personal Trainer");
               MembershipTypeLabel = new JLabel();
               MembershipTypeLabel.setBounds(new Rectangle(32, 115, 114, 24));
               MembershipTypeLabel.setText("MembershipType");
               AddressLabel = new JLabel();
               AddressLabel.setBounds(new Rectangle(71, 75, 64, 24));
               AddressLabel.setText("Address");
               NameLabel = new JLabel();
               NameLabel.setBounds(new Rectangle(69, 26, 57, 25));
               NameLabel.setText("Name");
               jContentPane = new JPanel();
               jContentPane.setLayout(null);
               jContentPane.add(NameLabel, null);
               jContentPane.add(AddressLabel, null);
               jContentPane.add(getNameTextField(), null);
               jContentPane.add(getAddressTextField(), null);
               jContentPane.add(MembershipTypeLabel, null);
               jContentPane.add(getMonthlyRadioButton(), null);
               jContentPane.add(getAnnualRadioButton(), null);
               jContentPane.add(PersonalTrainerLabel, null);
          return jContentPane;
}  //  @jve:decl-index=0:visual-constraint="10,10"and this is my other class. The dialog
package membership;
import javax.swing.JPanel;
import java.awt.Frame;
import java.awt.BorderLayout;
import javax.swing.JDialog;
import javax.swing.JLabel;
import java.awt.Rectangle;
import javax.swing.JTextField;
import javax.swing.JButton;
import java.awt.Color;
public class NameDialog extends JDialog {
     private static final long serialVersionUID = 1L;
     private JPanel jContentPane = null;
     private JLabel EnterMemberNameLabel = null;
     private JTextField NewMemberTextField = null;
     private JButton OKButton = null;
     private JButton CancelButton = null;
     private JLabel ErrorLabel = null;
     private String MembersName;
      * @param owner
     public NameDialog() {
          super();
          initialize();
      * This method initializes this
      * @return void
     private void initialize() {
          this.setSize(300, 200);
          this.setTitle("Enter member name");
          this.setContentPane(getJContentPane());
      * This method initializes jContentPane
      * @return javax.swing.JPanel
     private JPanel getJContentPane() {
          if (jContentPane == null) {
               ErrorLabel = new JLabel();
               ErrorLabel.setBounds(new Rectangle(60, 93, 151, 17));
               ErrorLabel.setForeground(Color.red);
               ErrorLabel.setText("YOU MUST ENTER A NAME");
               ErrorLabel.setVisible(false);
               EnterMemberNameLabel = new JLabel();
               EnterMemberNameLabel.setBounds(new Rectangle(12, 5, 257, 31));
               EnterMemberNameLabel.setText("Please enter the new members name below:");
               jContentPane = new JPanel();
               jContentPane.setLayout(null);
               jContentPane.setName("");
               jContentPane.add(EnterMemberNameLabel, null);
               jContentPane.add(getNewMemberTextField(), null);
               jContentPane.add(getOKButton(), null);
               jContentPane.add(getCancelButton(), null);
               jContentPane.add(ErrorLabel, null);
          return jContentPane;
      * This method initializes NewMemberTextField     
      * @return javax.swing.JTextField     
     private JTextField getNewMemberTextField() {
          if (NewMemberTextField == null) {
               NewMemberTextField = new JTextField();
               NewMemberTextField.setBounds(new Rectangle(36, 56, 209, 28));
          return NewMemberTextField;
      * This method initializes OKButton     
      * @return javax.swing.JButton     
     private JButton getOKButton() {
          if (OKButton == null) {
               OKButton = new JButton();
               OKButton.setBounds(new Rectangle(33, 118, 72, 26));
               OKButton.setText("OK");
               OKButton.addActionListener(new java.awt.event.ActionListener() {
                    public void actionPerformed(java.awt.event.ActionEvent e) {
                         if(getNewMemberTextField().getText().equals(""))
                              ErrorLabel.setVisible(true);
                         else {
                              GymMembershipMainWindow mainWindow = new GymMembershipMainWindow();
                              mainWindow.getNameTextField().setText(getNewMemberTextField().getText());                              
                              NameDialog.this.setVisible(false);
          return OKButton;
      * This method initializes CancelButton     
      * @return javax.swing.JButton     
     private JButton getCancelButton() {
          if (CancelButton == null) {
               CancelButton = new JButton();
               CancelButton.setBounds(new Rectangle(181, 119, 79, 27));
               CancelButton.setText("Cancel");
               CancelButton.addActionListener(new java.awt.event.ActionListener() {
                    public void actionPerformed(java.awt.event.ActionEvent e) {
                         NameDialog.this.setVisible(false);
          return CancelButton;
The problem i am having is in the OK method in the dialog class. At the 'else' i want the text that is inputted into the text field in the name dialog here, to appear into the text field in the main window for the name.
Understand me? Sorry. Thanks

Similar Messages

  • Can JavaHelp open Main Window from an HTML Topic?

    Hi all,
    I am working on opening the main window from an HTML topic. Is it possible to do? Right now, what I can do is to make a link in the html page open the secondary window with navigation pane.
    Also, can I set different textColor(param name of object tag)beside the one mentions in the JavaHelp System user's guide?
    More question. When I give the textColor as "green" which is the color I can set according to the JavaHelp System user's guide in the object tag, the help system displays different shade of green, lime. I tested this settng in IE/Firefox. It renders a default green which is what I need. How can I make the javahelp renders properly?
    Any help would be appreciated,
    thanks

    Hi Dir-t,
    There's no way to create that behavior directly in Catalyst. However, you can do it with a little HTML hacking. You'll want to use the IFRAME tag: http://www.w3schools.com/TAGS/tag_iframe.asp
    When you publish your project as a SWF, one of the files that is created is an HTML file that wraps your SWF (it's typically called Main.html). You'll want to edit that file.
    -Adam

  • How to close the main window  from Popup

    hello all,
    i need to close the main window from a popup, so i create a popup and after clicking on close button of this popup, should also the main window be closed.
    how can do this please?
    BR

    Hi
    Please go through this.. check thomas reply
    Re: Close Main Window directly on action on Pop up window
    also check this..
    how to close main window on click of a button on popup window
    cheers,
    Kris.
    Edited by: kissnas on May 12, 2011 5:06 PM

  • I need to call main window from a Standard program

    I need to call main window from a Standard program for SAP Script. I have wrote the code like this but it is not working. Kindly help me on that.
          FORM OPEN_AND_START_FORM                                     
    FORM open_and_start_form.
      CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          device   = 'PRINTER'
          dialog   = space
          form     = 'ZOTC_SLI'
         language = print_co-spras
         OPTIONS  = pr_options
        EXCEPTIONS
          canceled = 01
          device   = 02
          form     = 03
          OPTIONS  = 04
          unclosed = 05.
      CHECK sy-subrc IS INITIAL.
      CALL FUNCTION 'WRITE_FORM'
        EXPORTING
          window  = 'MAIN'.
    ENDFORM.                    "OPEN_AND_START_FORM
          FORM CLOSE_AND_END_FORM_FORM                                  *
    FORM close_and_end_form.
      CALL FUNCTION 'END_FORM'.
    ENDFORM.                    "CLOSE_AND_END_FORM

    Hi,
    FORM CLOSE_AND_END_FORM_FORM *
    FORM close_and_end_form.
    CALL FUNCTION 'END_FORM'.
    change this to CALL FUNCTION 'close_FORM'.
    as you are not using the start_form
    you can use End_form
    i hope you understand now
    ENDFORM. "CLOSE_AND_END_FORM
    reward points if helpful.
    thanks & regards,
    venkatesh

  • Windows font dialog box?

    Is there such a thing as a standard Windows font dialog box,
    similar to the
    Open and Save dialogs that you can access with the FileIO
    Xtra? Something
    that would allow a user to select a font that was loaded on
    their system,
    select color, size, style etc and then return the selection
    so that Lingo
    could modify a text cast member? Or am I going to have to
    create this
    myself?

    BuddyAPI has a, windows only, function "baFontList" that will
    return a
    list of the fonts that are installed on a user's computer.
    There may be
    others.
    Once you have the list of fonts, you could build a screen
    that allows
    the user to select the options that you give them. Or, you
    could use the
    MUI Xtra to create a system type window that contains all of
    the options
    that you want the user to select. Or, you could create a
    Movie in a
    Window that mimics a system window to do the same work.
    Rob
    Rob Dillon
    Adobe Community Expert
    http://www.ddg-designs.com
    412-243-9119
    http://www.macromedia.com/software/trial/

  • How to open window print dialog box ?

    Hello experts,
    i want to print the form degin with data in forms' field.
    for this i add a button in my tools bar. i want when to call the windows print dialog box.
    please help
    Thanks
    yash

    You did not mention what Forms version you are using or the platform on which it is running. Although that doesn't really matter much in this case, please include this information in the future.
    To print a screenshot of the currently displayed (running) form, use the PRINT built-in. Refer to the Builder online help for details. Here is the example from the online help:
    /*** Built-in: PRINT **
    Example: Print the current window. */
    BEGIN
    Print;
    END;

  • Print a vi using windows' print dialog box

    Hi,
    I want to print the graph that I plot using Labview. I want to know how to get windows’ print Dialog box in labview. After getting the dialog box, do I need to use the Print report.vi. if yes, why and how? Please reply soon. Cannot move ahead because of this.

    The attached example demonstrates how to select the a printer using the Windows printer dialog.
    Also, the Print Report vi is used to print a reported created by the example.
    Scott Y
    NI
    Attachments:
    Select Printer.zip ‏96 KB

  • Setting a label with the text from cmd

    I know that label.setText("sdf"); usually prints out what ever we set in the label. But what i need help in is actually to get the text from the command prompt and print it unto the label. I'm doing a school project that requires users to click a GUI component menu "start server". This actually calls a batch file that connects the pc and a mobile phone with bluetooth. So, actually when the server(pc) is connecting, it prints out text like : "connecting..." . I want to disable the command prompt and actually print all those text unto a label on the GUI. Please help me somebody.

    these are three classes that object_au suggested might help me to print things from a cmd to a label:-
    ------------------------AutoReader.java---------------------------
    package au.com.objects.io;
    import java.io.*;
    import java.util.*;
    * Reads a text stream line by line notifying registered listeners of it's progress.
    public class AutoReader implements Runnable
         private BufferedReader In = null;
         private ArrayList Listeners = new ArrayList();
         * Constructor
         * @param in stream to read, line by line
         public AutoReader(InputStream in)
              this(new InputStreamReader(in));
         * Constructor
         * @param in reader to read, line by line
         public AutoReader(Reader in)
              In = new BufferedReader(in);
         * Adds listener interested in progress of reading
         * @param listener listener to add
         public void addListener(Listener listener)
              Listeners.add(listener);
         * Removes listener interested in progress of reading
         * @param listener listener to remove
         public void removeListener(Listener listener)
              Listeners.remove(listener);
         * Handles reading from stream until eof, notify registered listeners of progress.
         public void run()
              try
                   String line = null;
                   while (null!=(line = In.readLine()))
                        fireLineRead(line);
              catch (IOException ex)
                   fireError(ex);
              finally
                   fireEOF();
         * Interface listeners must implement
         public interface Listener
              * Invoked after each new line is read from stream
              * @param reader where line was read from
              * @param line line read
              public void lineRead(AutoReader reader, String line);
              * Invoked if an I/O error occurs during reading
              * @param reader where error occurred
              * @param ex exception that was thrown
              public void error(AutoReader reader, IOException ex);
              * Invoked after EOF is reached
              * @param reader where EOF has occurred
              public void eof(AutoReader reader);
         * Notifies registered listeners that a line has been read
         private void fireLineRead(String line)
              Iterator i = Listeners.iterator();
              while (i.hasNext())
                   ((Listener)i.next()).lineRead(this, line);
         * Notifies registered listeners that an error occurred during reading
         private void fireError(IOException ex)
              Iterator i = Listeners.iterator();
              while (i.hasNext())
                   ((Listener)i.next()).error(this, ex);
         * Notifies registered listeners that EOF has been reached
         private void fireEOF()
              Iterator i = Listeners.iterator();
              while (i.hasNext())
                   ((Listener)i.next()).eof(this);
    ------------------------AutoReaderDocument .java---------------------------
    package au.com.objects.swing.text;
    import javax.swing.text.*;
    import java.io.*;
    import au.com.objects.io.*;
    import java.awt.*;
    * Document implementation that automatically reads it's contents from multiple readers.
    * Each Reader is handled by a seperate thread.
    public class AutoReaderDocument extends PlainDocument
         implements AutoReader.Listener
         * Default Constructor, creates empty document
         public AutoReaderDocument()
         * Adds a new source Reader to read test from. The reading is handled
         * in a seperate dedicated thread.
         public void addReader(Reader in)
              AutoReader auto = new AutoReader(in);
              auto.addListener(this);
              new Thread(auto).start();
         * Invoked when a line is read from one of threads.
         * Appends line of text to document.
         * @param reader where line was read from
         * @param line line read
         public void lineRead(AutoReader in, final String line)
              EventQueue.invokeLater(new Runnable() { public void run()
                   try
                        insertString(getLength(), line+'\n', null);
                   catch (BadLocationException ex)
                        ex.printStackTrace();
         public void error(AutoReader in, IOException ex)
              ex.printStackTrace();
         public void eof(AutoReader in)
    ------------------------SwingExecExample.java---------------------------
    package au.com.objects.examples;
    import au.com.objects.swing.text.*;
    import java.util.*;
    import javax.swing.*;
    import java.io.*;
    * Example demonstrating reading output from Process.exec() into a JTextArea.
    public class SwingExecExample
         public static void main(String[] args)
              AutoReaderDocument output = new AutoReaderDocument();
              JFrame f = new JFrame("exec");
              f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              f.getContentPane().add(new JScrollPane(new JTextArea(output)));
              f.setSize(400, 200);
              f.show();
              try
                   Process p = Runtime.getRuntime().exec(args);
                   output.addReader(new InputStreamReader(p.getInputStream()));
                   output.addReader(new InputStreamReader(p.getErrorStream()));
              catch (IOException ex)
                   ex.printStackTrace();

  • Stopping the applications main window from activating when a child window is clicked

    I am building a javascript based AIR application that implements a bastardized growl notifier.  When the the application is minimized or in the background you may be notified of a new message.  This part works great.
    The UI calls for an "X" button to close the the notification window.  When I click the "X" the application's main window is activated and brought to the foreground, but the desired behavior is that the main application window stays minimized or backgrounded.  I've tried playing around with preventDefault and stopPropagation on mouse click and mouse down events but this doesn't seem to solve the problem.  I've also tried to hook into the display state changing event on the nativeWindow to see if I could cancel activation events in this scenario but I wasn't able to get that to work.  My last ditch effort was to try and tap into the AIR platform events for mouse click and mouse down, with the rationale that these things are handled in AIR and by the time it gets to the webkit engine, it's already too late, but that didn't seem to work either.
    It's completely possible that I'm "missing some mundane detail" and one of these approaches should be sufficient.  I've noticed that TweetDeck has the same problem so I'm wondering, is this just an "AIR thing", possibly a bug, or is this expected?
    Any help would be greatly appreciated.  I can post more information and screenshots if my explanation wasn't clear enough.  Thanks for reading.

    sloppy code
    JMenuitem open;
    public actionperformed(event e)
    if e.getsource == open
    displayframe();
    public void displayFrame(){
    JFrame = new jframe
    frame.pack()
    frame.show()
    }

  • I would like Adobe to utilize the non-legacy save/open Windows 7 dialog box

    So I downloaded the trial for CS5.5 Master Suite and found that the open/save dialog box is the same thing from CS5.  This is a huge disappointment.
    Reason being is explained right here: http://www.sanneblad.com/2010/06/18/customizing-the-open-and-save-dialogs-in-adobe-cs5-for -windows/
    Common File Dialog is being used still by CS5 and CS5.5 which is outdated and legacy.
    [Starting with Windows Vista, the Open and Save As common dialog boxes have been superseded by the Common Item Dialog. We recommended that you use the Common Item Dialog API instead of these dialog boxes from the Common Dialog Box Library.]
    The Open dialog box lets the user specify the drive,  directory, and the name of a file or set of files to open. You create  and display an Open dialog box by initializing an OPENFILENAME structure and passing the structure to the GetOpenFileName function.
    The Save As dialog box lets the user specify the drive, directory, and name of a file to save. You create and display a Save As dialog box by initializing an OPENFILENAME structure and passing the structure to the GetSaveFileName function.
    Explorer-style Open and Save As dialog boxes provide user-interface features that are similar to the  Windows Explorer. However, the system continues to support old-style Open and Save As dialog boxes for applications that must be consistent with the old-style user interface.
    In addition to the difference in appearance, the Explorer-style and  old-style dialog boxes differ in their use of custom templates and hook  procedures for customizing the dialog boxes. However, the Explorer-style  and old-style dialog boxes have the same behavior for most basic  operations, such as specifying a file name filter, validating the user's  input, and getting the file name specified by the user. For more  information about the Explorer-style and old-style dialog boxes, see Open and Save As Dialog Box Customization.
    The following illustration shows a typical Explorer-style Open dialog box.
    http://msdn.microsoft.com/en-us/library/bb776913%28v=VS.85%29.aspx
    http://msdn.microsoft.com/en-us/library/ms646960%28VS.85%29.aspx
    It appears it would be a simple retooling of the code in order for this to work.  I truly hope that Windows 8 will force all software developers to utilize the new Common Item Dialog API.

    We've been trying to - but we still have to support XP and Vista.
    It appears it would be a simple retooling of the code in order for this to work.
    Um, no, not that simple.

  • The print window settings dialog box will not come up

    When attempting to print a website, I need to select the option to print as laid out on the screen as described in this how-to: https://support.mozilla.org/en-US/kb/how-print-websites#w_print-window-settings.
    However, I have attempted to get this dialog box to come up on 4 different machines that all have Firefox 32 installed and updated. The operating systems of the 4 machines were 2 Windows 7 64bit, 1 Fedora 20 64bit, and Windows 8.1 64bit.
    It appears that using the print button launches the print preview screen. Pressing CTRL+P does not open this page either. Is this something I need to change in about:config? I already reset all the printing settings and reset firefox on these machine to see if that was the issue.
    Please let me know how to correct this behavior.

    On Windows 7 and Windows 8.1 systems, it does not come up. I did try disabling the pop-up blocker, but it just won't load the dialog box. It is driving me a bit crazy.
    And Office 365 does put the email out to a new window, but it still has frames :(. Microsoft's support forum advised setting IE and other browsers to print as displayed. The issue is I can't seem to figure out how to get that dialog box to come up. I have tried disabling the native dialog box in about:config, but didn't have any success with that either

  • To Open (Windows open dialog box )

    Hi i am using 4.5 forms and on click of button i wanna open a windows dialog box from this user can opne any other file say doc or excel file.
    help me in this matter..
    thanx in advance..

    There is Get_File_Name but this only came in later versions of forms. However, this 4.5 you can use d2kwutil - I think it has a file open dialog which you can use.
    Regards
    Grant Ronald
    Forms Product Management

  • Hyper-V not listed in the Windows Features dialog box

    Hi,
    I'm trying to install Hyper-V on my Lenovo H520s and the feature is not listed in the Windows 8 features dialog box. I've confirmed that I'm running 64 bit windows, that the bios is configured to enable virtualisation etc but no joy.
    Anyone any idea on what this could be?
    Thanks,

    Hello and welcome,
    Have you cold booted your machine since enabling VT?  Some computers don't correctly report VT status to the OS until a full power off - power on sequence.
    No idea if yours is one of them.  Just something to check.
    Z.
    The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc.  The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • I need help - Open windows and dialog boxes are ghosting and flashing.

    Hi All,
    My Mac Pro has recently come down with a "bug". When i open multiple windows they don't seem to cope well with each other and parts of the window behind will still show through the window in front in fragments. When downloading, the loading bar will also flicker and partly show the dialog box behind. The only thing that fixes the broken up windows/dialog boxes is to minimize then maximize again. At first i thought it was a memory issue but the problem occurs with no applications running except for finder. I have done several restarts, updated my software and have checked my hard drive in disk utility and everything appears okay?
    I can still operate the machine but it's getting a little annoying. Can anyone help me here?

    Hi nayefo,
    Try installing multitouch, and then see, while in windows, if you've successfully installed multitouch and multitouch mouse, you should have those drivers. Also check if you've installed trackpad and trackpad enabler.
    Cheers,
    Erik

  • HT2305 What does windows installer dialog box message "The system administrator has set policies to prevent this installation"  when I tried to install airport utility?

     

    Although the following user tip is about iTunes, try the same procedure with an Airport Utility installer. (Downloading and saving an installer to your hard drive and then right-clicking the installer and selecting "Run as Administrator".)
    "The administrator has set policies to prevent this installation" error messages when installing iTunes for Windows on Windows Vista and Windows 7 systems

Maybe you are looking for

  • Test call of transport control program (tp) ended with return code 0012

    Hello, I have been trying to release directed a request with se09 transaction and TK094 error has appeared. Someone knows how solve this problem? Thanks

  • Service details are not copying from contract to Maint.Order

    Dear Experts, I was doing a service contract cycle, with the following steps. 1. Created a Service contract, in T. Code ME31K. 2. Given all the details in the Header data of the Contract. 3. Mentioned the, Item category as D (Service), Account Assign

  • Can't hear what I'm playing while I'm playing

    Hello- I can't seem to solve what is probably a very simple issue. I'm plugging my guitar straight into Logic Pro via a 1/4inch-to-USB cable. I can see the audio being recorded, but I cannot hear it while I'm playing or during playback. All non-Logic

  • ABAP Query : code to change the display

    Hi all, I have created an Abap Query and generated it. I see the output now as follows: <u>Bill.doc</u>     <u>Item</u>   <u>Net value</u>  <u>Total amt</u> 900000                    10                  100                  600 900000                

  • Organization of sales

    So that bp of a client appears an organization of sales in the area of sales of the transaction that I must do?  Thank you very much Message was edited by: sanchez sanchez