Problem in displaying loginpage when user press logout

Hi everyone, I am new to Swing and facing an issue which might appear simple to you people.
I have a Login Screen. When user supply credentials and press the login button, the next page is displayed which has a logout button. If user clicks this logout button, ideally the login screen should come. I am struck up in implementing this functionallity. I'm attached SAMPLE Code for the same.
// MainFrame.java
import java.awt.Color;
import java.awt.Container;
import java.awt.Font;
import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;
import java.io.PrintStream;
import java.text.SimpleDateFormat;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
public class MainFrame extends JFrame implements WindowListener{
    private static final long serialVersionUID = 1L;
     public static  String server_url = "t3://localhost:7001";
     public static  String JNDI_NAME = "com.qwest.bpm.designerserver.DesignerServerRemoteHome";
     static final String title_base = "MY App";
     PrintStream log;
     SimpleDateFormat df;
     public static JPanel current_page;
    String errmsg;
    public Color background;
    public Color color_tablehead;
    public Color color_canvas;
    Font font_textfield;
    String database;
    MainFrame(String title){
         super(title);
        System.setSecurityManager(null);
        setSize(900, 720);
          addWindowListener(this);
          rootPane.setDoubleBuffered(false);
          background = new Color(0.9f,0.9f,0.7f);
          color_tablehead = new Color(0.8f,0.8f,0.6f);
          color_canvas = new Color(0.97f,1.0f,0.97f);
          font_textfield = new Font("courier", Font.PLAIN, 12);
          setBackground(background);
          getContentPane().setBackground(null);
          log = System.out;
          df = new SimpleDateFormat("HH:mm:ss");
          setDefaultLookAndFeelDecorated(true);
        errmsg = null;
        database = "Oracle";
     public void setPage(JPanel page) {
          if (current_page!=null) current_page.setVisible(false);
          Container content_pane = getContentPane();
          if (!content_pane.isAncestorOf(page)) {
               // System.out.println("Add page " + page.getClass().getName());
               content_pane.add(page);
          page.setVisible(true);
          current_page = page;
        if (errmsg!=null) {
            JOptionPane.showMessageDialog(this, errmsg);
            errmsg = null;
     public void logout() {
          //Code to be changed here
       System.exit(0);
     public static void main(String[] args){
          MainFrame frame = new MainFrame("My App");
          frame.setPage(LoginPage.getPage(frame));
          frame.setVisible(true);
     public void windowActivated(WindowEvent e) {
          // TODO Auto-generated method stub
     public void windowClosed(WindowEvent e) {
          // TODO Auto-generated method stub
     public void windowClosing(WindowEvent e) {
          // TODO Auto-generated method stub
     public void windowDeactivated(WindowEvent e) {
          // TODO Auto-generated method stub
     public void windowDeiconified(WindowEvent e) {
          // TODO Auto-generated method stub
     public void windowIconified(WindowEvent e) {
          // TODO Auto-generated method stub
     public void windowOpened(WindowEvent e) {
          // TODO Auto-generated method stub
//MainPanel.java
import java.awt.BorderLayout;
import java.awt.Color;
import javax.swing.JPanel;
public class MainPanel extends JPanel{
     public MainFrame frame;
     protected Color background;
     public MainPanel(MainFrame frame) {
          super();
          this.frame = frame;
          setLayout(new BorderLayout());
          setBackground(null);
//LoginPage.java
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.AbstractButton;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JPasswordField;
import javax.swing.JTextField;
public class LoginPage extends MainPanel implements ActionListener {
     private static final long serialVersionUID = 1L;
     JTextField username, serverurl, servername;
     JPasswordField password;
     static LoginPage singleton = null;
     LoginPage(MainFrame frame) {
          super(frame);
          setLayout(null);
          JLabel label;
          JPanel panel = new JPanel(new GridLayout(2,2));
        panel.setLayout(null);
        panel.setBounds(100,100,200,200);
        panel.setBorder(BorderFactory.createTitledBorder("Credentials "));
        panel.setSize(600,350);
        panel.setOpaque(false);
          label = new JLabel("User Name");
          label.setBounds(60, 60, 120, 20);
          panel.add(label);
          username = new JTextField();
          username.setBounds(200, 60, 120, 20);
        //username.setActionCommand(C.ACTION_LOGIN);
          panel.add(username);
          label = new JLabel("Password");
          label.setBounds(60, 90, 120, 20);
          panel.add(label);
          password = new JPasswordField();
          password.setBounds(200, 90, 120, 20);
        password.setActionCommand("login");
        password.addActionListener(this);
          panel.add(password);
          JButton button_login = new JButton("Log In");
          button_login.setBounds(150, 240, 120, 25);
          button_login.setBackground(background);
          button_login.setActionCommand("login");
          button_login.addActionListener(this);
          panel.add(button_login);
        add(panel);
     static LoginPage getPage(MainFrame frame) {
          if (singleton==null)
               singleton = new LoginPage(frame);
          return singleton;
     public void actionPerformed(ActionEvent e) {
         Object source = e.getSource();
         String cmd;
          if (source instanceof AbstractButton)
               cmd = ((AbstractButton)source).getActionCommand();
        else if (source instanceof JPasswordField)
            cmd = "login";  
          else return;
          if(cmd.equalsIgnoreCase("login")) {
               frame.setPage(NextPage.getPage(frame));
//NextPage.java
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.AbstractButton;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JPasswordField;
import javax.swing.JTextField;
public class NextPage extends MainPanel implements ActionListener{
     private static final long serialVersionUID = 1L;
     JTextField username, serverurl, servername;
     JPasswordField password;
     static NextPage singleton = null;
     NextPage(MainFrame frame) {
          super(frame);
          setLayout(null);
          JLabel label;
          JPanel panel = new JPanel(new GridLayout(2,2));
        panel.setLayout(null);
        panel.setBounds(100,100,200,200);
        panel.setBorder(BorderFactory.createTitledBorder("Credentials "));
        panel.setSize(600,350);
        panel.setOpaque(false);
          label = new JLabel(" Hurray Login Successfull ");
          label.setBounds(60, 60, 120, 20);
          panel.add(label);
          username = new JTextField();
          username.setBounds(200, 60, 120, 20);
        //username.setActionCommand(C.ACTION_LOGIN);
          panel.add(username);
          label = new JLabel("Now try Logout ");
          label.setBounds(60, 90, 120, 20);
          panel.add(label);
          JButton button_login = new JButton("Log Out");
          button_login.setBounds(150, 240, 120, 25);
          button_login.setBackground(background);
          button_login.setActionCommand("logout");
          button_login.addActionListener(this);
          panel.add(button_login);
        add(panel);
     static NextPage getPage(MainFrame frame) {
          if (singleton==null)
               singleton = new NextPage(frame);
          return singleton;
     public void actionPerformed(ActionEvent e) {
         Object source = e.getSource();
         String cmd ="";
          if (source instanceof AbstractButton)
               cmd = ((AbstractButton)source).getActionCommand();
          if(cmd.equalsIgnoreCase("logout")) {
               frame.logout();
}

solved it :)

Similar Messages

  • How to show old value in webui when user press NO button on popup button.

    Hi Experts,
    As per requirement I have created custom field with dropbox and with popup box to cofirm user decision if value from field changes.
    Now on Popup when user press Yes then its Ok as no need to change the current value in the field.
    but when user press the NO button I want to display the old value on Web UI so now I am able to catch the old value and pass it into the field at backend but I am not able to make the change on the web page.
    Please reply if anyone have solution for it.
    BR
    Gaurav    

    Hi Gaurav,
    First of all when all this is happening in UI why you need to pass the selected value to backend. I didnt get this.
    I believe, this is only ui related and the old value which you got can be set in the IMPL class global variable and  trigger method set_on_close_event, say here 'CONFIRM_POPUP_CLOSED' as shown below:
      gr_popup->set_on_close_event( iv_event_name = 'CONFIRM_POPUP_CLOSED'
                                        iv_view = me ).
    Retrive the answer as per selection from popup in method 'CONFIRM_POPUP_CLOSED'
    by using:
      lv_answer = gr_popup->get_fired_outbound_plug( ).
    if lv_answer is NO, then put back the globally stored old value back to dropdown attribute, using:
    set_property_by_value method(   iv_attr_name = 'dropdown attr' iv_value = 'old value' )
    Thats it. No need to do anything.
    Regards,
    Bhushan

  • Apply my own formula when user presses sum button in a report

    Hi all,
    I have this requirement that when user presses SUM button for a particular field in a report instead of Summing it up and displaying I can apply my own formula and display its value. 
    For Ex :  When we press sum button for field efficiency :
    EFFICIENCY
    10
    11
    05
    26 - It would sum it up and display 26 , where as i don't want it to display 26 i want to apply a separate formula and display that value

    Suggest to add another custom button to the ALV toolbar and write the desired logic you want.
    Also to avoid confusion, disable the standard summation button. (you can add the same icon for the custom button if you wish)
    Thanks,

  • At selection-screen when user presses back button

    Experts,
    I have two radio buttons and two relative checkboxes ( one checkbox related to other ).
    Now when user selects one radio button and executes teh program, there is a summary page. When user presses back button from there, I return to the selection screen, however the selections are still there.
    Ideally I want a blank screen, as in nothing selected( similar screen when program is executed first ). Is it possible ?
    Kindly advise,
    Gols

    Hi,
    Try clearing radio buttons and check boxes at PBO of selection screen using AT SELECTION-SCREEN OUTPUT statement.
    PARAMETERS:
      p_rad1 TYPE c RADIOBUTTON GROUP rd1,
      p_rad2 TYPE c RADIOBUTTON GROUP rd1.
    PARAMETERS:
      p_chk1 TYPE c AS CHECKBOX,
      p_chk2 TYPE c AS CHECKBOX.
    AT SELECTION-SCREEN OUTPUT.
      CLEAR: p_rad1, p_rad2, p_chk1, p_chk2.
    Hope this helps.
    Regards,
    txhughes

  • Want to close  JInternalFrame when user press OR release "Esc" key.

    i want to close JInternalFrame when user press OR release "Esc" key.
    i am trying that
    but nothing print on console
    public class IFTest extends javax.swing.JInternalFrame {
        public IFTest() {
            initComponents();
        private void initComponents() {
            setClosable(true);
            addKeyListener(new java.awt.event.KeyAdapter() {
                public void keyPressed(java.awt.event.KeyEvent evt) {
                    formKeyPressed(evt);
                public void keyReleased(java.awt.event.KeyEvent evt) {
                    formKeyReleased(evt);
                public void keyTyped(java.awt.event.KeyEvent evt) {
                    formKeyTyped(evt);
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGap(0, 394, Short.MAX_VALUE)
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGap(0, 278, Short.MAX_VALUE)
            pack();
        private void formKeyPressed(java.awt.event.KeyEvent evt) {
            System.out.println("formKeyPressed");
        private void formKeyReleased(java.awt.event.KeyEvent evt) {
           System.out.println("formKeyReleased");
        private void formKeyTyped(java.awt.event.KeyEvent evt) {
           System.out.println("formKeyTyped");
    }

    i don ti thanks
    public class IFTest extends javax.swing.JInternalFrame {
        public IFTest() {
            initComponents();
             this.getActionMap().put("test", new AbstractAction(){
                public void actionPerformed(ActionEvent e) {
                    System.out.println("Escape Pressed");
            InputMap map = this.getInputMap(WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);
            KeyStroke stroke = KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0);
            map.put(stroke,"test");
        private void initComponents() {
            setClosable(true);
            addKeyListener(new java.awt.event.KeyAdapter() {
                public void keyPressed(java.awt.event.KeyEvent evt) {
                    formKeyPressed(evt);
                public void keyReleased(java.awt.event.KeyEvent evt) {
                    formKeyReleased(evt);
                public void keyTyped(java.awt.event.KeyEvent evt) {
                    formKeyTyped(evt);
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGap(0, 394, Short.MAX_VALUE)
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGap(0, 278, Short.MAX_VALUE)
            pack();
        private void formKeyPressed(java.awt.event.KeyEvent evt) {
            System.out.println("formKeyPressed");
        private void formKeyReleased(java.awt.event.KeyEvent evt) {
           System.out.println("formKeyReleased");
        private void formKeyTyped(java.awt.event.KeyEvent evt) {
           System.out.println("formKeyTyped");
    }

  • How to close a session when user clicks Logout

    In my jsp page i create a session for every user's name.
    when particular user clicks logut without closing his personal page,
    the others can access his page.
    so, how to close a session when clicks logout link.?
    similarly when user gets signin one system,he will not be sigin in other system.but how can we achieve this?
    Thanks in Advance

    What is the name of the session variable that you are creating on login? When he clicks logout, set that session variable to null. Like session.setAttribute("userName",null); and check for non-null condition before proceeding with any functionality in your jsp's.
    What is the second question? You want to prevent duplicate logins from different systems? You would have to maintain a static datastructure like a HashMap for instance. Everytime a user logs in, put an entry into the HashMap...like userMap.put("userName","userName"); If an entry already exists, throw a message saying that user already logged in from another machine...

  • Preventing app exiting when user presses cross button

    Hello,
    I can't seem to prevent the whole application closing down when the user presses the cross button at the top of any of the forms. For example I have a menu form which I want to keep running whilst the user closes other forms which are shown from it.
    Any suggestions?
    Thankyou,
    Karsten

    I could be wrong, but I thought that the default
    behavior of a JDialog is to not close the whole app
    when it closes. Is that not correct?You are correct, sir. The only way an application closes is by explicitly telling it to do so by EXIT_ON_CLOSE.

  • Triggering POPUP to SAVE when user Presses BACK  Button

    h4.
    Hi Friends,
    h4.
    When the User Presses BACK Button in the PF Status, it should trigger POPUP_TO_CONFIRM  whether to SAVE or not.
    h4.
    Suppose if the user doesn't change any thing in the Screen, it should not ask the User.
    h4.
    How can i know whether the user changes something in the Screen.
    h4.
    Screen mean Table Control..
    h4.
    How can i track this.
    h4.
    Regards:.
    h4.
    Sridhar.J

    Hi Sridhar,
    Within the table control loop, create a chain of all the fields in the structure of line type. call a PAI module with addition ON CHAIN-REQUEST. This is a conditional module call which will be triggered ONLY when user changes something on the screen. In this module you can set a global variable DATA_CHANGED to say 'X'. When user chooses BACK function, check this global variable to decide on the confirmation popup.
    One small caution. If you have the ROW SELECTION field also included in the line type of your internal table associated with the table control, you need to exclude that from the CHAIN of fields above; otherwise even when user selects a line or de-selects, this module will be triggered.
    Read ON CHAIN-REQUEST and ON REQUEST online ABAP help for more clarity.
    Regards
    Suresh
    Edited by: Suresh Radhakrishnan on Sep 28, 2009 4:29 PM

  • Display message when user again trying to respond survey?

    When User Try To Respond Survey Again ,Displaying Some Error message ,but i want to display A User Friendly Message...
    I Read Some Article But Not Found Any Solution Yet,help me
    AKshay Nangare

    Hi,
    According to your description, my understanding is that you want to display a friendly message when user repeat to respond the survey.
    I suggest you can check if the survey count for current log in user exists using JavaScript Client Object Model and Caml Query, if exists, you can alert a window with some friendly message.
    Here is a detailed code demo for your reference:
    http://sharepoint.stackexchange.com/questions/64357/friendly-message-when-user-tries-to-take-the-survey-again
    Thanks
    Best Regards
    Jerry Guo
    TechNet Community Support

  • Problem in displaying image when running a jad file

    I have written a midlet which displays an image in the welcome screen and then shows the main menu for the application. WHen I try to run the code directly from the console by using the command "midp -classpath . teledoc", the code runs fine and also displays the image which is stored in the same directory as the class files. Now i made a jad file so that i can install it on the mobile phone directly but while running the jad file it gives an error that "unable to locate and read the png file". Can anyone tell me why it is happening. I am attaching the code for the midlet below. Also the jad and manifest.txt files are attached.
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    import java.io.*;
    public class teledoc extends MIDlet implements CommandListener{
    private Display display;
    private List list;
    private frmreg frmsub;
    private frmconsult frmsub1;
    private frmread frmsub2;
    private frmread_con frmsub3;
    private Command cmdexit;
    private Command cmdexit1;
    private Command cmdreg;
    private Command cmdconsult;
    private Command cmdread;
    private Alert altest;
    public teledoc(){
    display=Display.getDisplay(this);
    frmsub = new frmreg("New Registration", this);
    frmsub1 = new frmconsult("New Consultation", this);
    frmsub2 = new frmread("Select User", this);
    frmsub3 = new frmread_con("Select User", this);
    try{
         Image imgmain=Image.createImage("/teledoc.png");
         Image im1[] = {Image.createImage("/teledoc1.png"),Image.createImage("/teledoc1.png"),Image.createImage("/teledoc1.png"),Image.createImage("/teledoc1.png"),Image.createImage("/teledoc1.png"),Image.createImage("/teledoc1.png")};
         String options[] = {"New Registration", "Edit User Info", "New Consultation", "Edit Consultation", "Doctor's Reply", "Exit"};
         list = new List("Main Menu", List.IMPLICIT, options, null);
    cmdreg=new Command("New Registration", Command.SCREEN,3);
    cmdconsult=new Command("New Consultation", Command.SCREEN,4);
         cmdread=new Command("Edit User Info", Command.SCREEN,5);
         cmdexit1=new Command("Exit", Command.SCREEN,6);
    cmdexit=new Command("Exit", Command.SCREEN,2);                    list.addCommand(cmdexit1);
    list.setCommandListener(this);
    catch(java.io.IOException e)
    System.err.println("unable to locate");
    public void startApp(){
    try{
    Image im=Image.createImage("/teledoc.png");
    altest = new Alert("Welcome to TeleDoc", "", im, AlertType.INFO);
    altest.setTimeout(2000);
    catch(Exception e){
    System.out.println("Unable to Read PNG Image :");
    displayteledoc1();
    public void displayteledoc()
    display.setCurrent(list);
         public void displayteledoc1()
    display.setCurrent(altest, list);
    public void commandAction(Command c, Displayable s){
    //if(s==list){
    if(c==list.SELECT_COMMAND){
              switch (list.getSelectedIndex())
              case 0:
    display.setCurrent(frmsub);
              break;
              case 1:
    display.setCurrent(frmsub2);
              break;
              case 2:
    display.setCurrent(frmsub1);
              break;
              case 3:
    display.setCurrent(frmsub3);
              break;
              case 4:
              break;
              case 5:
    destroyApp(false);
              notifyDestroyed();
              break;
    if(c==cmdexit1){
    destroyApp(false);
    notifyDestroyed();
    //manifest.txt file
    MIDlet-Name: teledoc
    MIDlet-Version: 1.0
    MIDlet-Vendor: Jiva Research Institute.
    MIDlet-1: teledoc, /teledoc.png , teledoc
    MicroEdition-Profile: MIDP-1.0
    MicroEdition-Configuration: CLDC-1.0
    ////teledoc.jad file
    MIDlet-Name: teledoc
    MIDlet-Version: 1.0
    MIDlet-Vendor: Jiva Research Institute.
    MIDlet-Jar-URL: teledoc.jar
    MIDlet-Jar-Size: 18546
    MIDlet-1: teledoc, /teledoc.png , teledoc

    The problem probably isn't in you code, nor manifest nor jad file, but in the package process. Your image have to be in the root dir of the .jar file, but it isn't there. Try to see what is in you .jar with your favourite compress tool or with this command:
    %JAVA_HOME%\bin\jar -tfv <yoursuite.jar>

  • XMLP-PROBLEM IN DISPLAYING TOTALS WHEN LINES HAVE MULTILINE DESCRIPTION.

    The Report Totals on documents does not appear at the bottom of the page when we have lines that have multi-line description.
    Actually we had restricted the length of each XML page to display 40 lines only. In case if we are not having details of 40 lines then we are filling the remaining space with the empty lines using "FILLER CHECK" concept. The report is working fine if the invoice description is of only a single line.But when the invoice description is of multiple lines(having new line characters or exceedes the maxmimul length) then the invoice's total information is going to the next page.
    Can any one of you resolve this issue.
    Thanks in Advance.
    Vishnu.

    Hi Tim,
    Thanks for your quick response.
    Here we cant truncate the invoice description, we have to get the whole in that column itself even it may be single or multiple line description. If we are not going to restrict the length of XML page to 40 lines, we are getting the output correctly. Only the problem arises when we are going to restrict the number of lines per page, i,e if you have fixed that length to 10 lines also we are getting the totals in the next page.
    Vishnu.

  • Flatten or Lock a fillable pdf when user presses submit button

    Hi.  I've been searching all over the net trying to figure this out.  I have a form that I created in LiveCycle and in the form I inserted a "REGULAR" button, with the following script:
    //Create a variable to hold the document object
    var 
    oDoc = event.target;oDoc.mailDoc({
    bUI
    : true,
    cTo
    : "[email protected]",
    cSubject
    : "New Procedure - Operator "+TextField1.rawValue+" - ID "+TextField2.rawValue,
    cMsg
    : "Attached is the New Procedure form for Operator "+TextField1.rawValue+" - ID "+TextField2.rawValue+".",
    This script is emailing to "[email protected]" and populating the subject line and body of the message with some text and some items from fields in the PDF.
    I want to have the PDF locked or flattened when the user hits the submit button, to ensure that the information put in the PDF isn't altered after they submit it.  I cannot find any way of doing this easily.  I found a script that will flatten the message (below), but I don't know how to add it to the email script I have noted above.  I don't want to add a second button to the form as I want to keep it as simple as possible for the user.
    Any suggestions someone might have would be greatly appreciated.  Thank you.
    Ryan

    The link at the bottom of the blog post takes you to Acrobat.com where you can download the file.
    Just tested it, the lin k is working fine for me.

  • HT4097 I'm having problems updating my apps, when I press updates, it's just a white screen, but when I push the featured or genius buttons, apps appear, what can I do?

    I'm having problems updating my apps, the screen just stays white....

    Read this on iLounge posted by ahMEmon
    Go into Settings > General > International > Language and choose British English, then hit the Done button. The screen will go black with a comment about Language Settings. Be Patient, especially if you have a lot of apps. Let it run it's course and Then open the App Store again. Voila! Upgrade list is back. And it stuck when i changed back to plain English. He doesn't know why. I don't either. But I am now a happy camper. Worked on my 3rd gen iPad and iPad Mini.
    Hope it works for you!

  • Hi,problems with display screen when using cs5

    Just bought new mac comp for daughter with cs5 extended s
    tudent and teacher edition.
    Disc didn't run straight away and we had to go into files to run the install.
    Installed ok when we did this.
    However we have all the toolbars around the outside of screen and despite changing background settings to black or grey it is still our screensaver there. If we click on toolbar it disappears and we have to go back to file to re-open.
    Can anyone advise why we don't have the grey background as per previous versions to work on with photos?
    If we try to open a pic to work on it still doesn't open as a full page

    Welcome to the Mac!  
    kfcfsy wrote:
    …Disc didn't run straight away and we had to go into files to run the install.
    Installed ok when we did this.…
    That is expected, normal behavior. 
    kfcfsy wrote:
    …Can anyone advise why we don't have the grey background as per previous versions to work on with photos?
    If we try to open a pic to work on it still doesn't open as a full page…
    That is expected, normal behavior.  All Mac applications work like this. 
    As an accommodation to Windows users switching to the Mac, Adobe provides the Application Frame, as indicated by the previous poster.  Hope that workaround helps you.
    Wo Tai Lao Le
    我太老了

  • Problem in displaying data when data is huge

    Hi All,
              I am getting 1 strange problem in Adobe forms.In my form i have few subforms.For those i have set Auto fit property as true,Expand to fit property is true ,Allow multiple lines property is true ,Allow Page breaks within content property is true & the layout is flow content.
    If the complete data for 1 subform is shown in same page,it shows the complete data but if the data is split into more than 1 pages,its showing the data in both pages but it truncates some data.Can anybody tell what can be the problem?
    regards
    Sumit

    Hi Sumit,
    Just recheck if all are in Flow content, top to bottom flow,  Expands to fit.
    If it does not solve the problem, put some margins in the layout pallette.
    How many lines are gettinig truncated???
    Put the Body page with in  the content area..
    - Hope these helps,
    Regards,
    Anto.

Maybe you are looking for

  • Issue in delimeter

    Hi Experts, I am getting below error in the sender file adapter: errors: u201Coffset[249(read Segment : IEA)]: caught ReadingException: Length limit exceeded - no SEG. delim. found!!!u201Derrors: I have used replace string  parameter but of no use I

  • Special G/L indicator H is not defined for down payments

    Can Any body help me please... I am giving the error details when i am posting Speical GL in F-37. Actually i want to post a Security Deposit made against Customer. Special G/L indicator H is not defined for down payments Message no. F5053 Diagnosis

  • Nokia N81 Display Problem?

    Hi Guys, I am facing this problem with my Nokia N81 just starting from today. Whenever, I slide it to access the keypad, it's screen turns corrupted with funky lines and random things on the screen. What could be the problem? Could it be the hardware

  • Best laptop for Premiere Pro CC 2015?

    Hi I have a nice system at my homeoffice, but now I need a laptop too, for when I´m working at another office in town. I´m in a bit of a hurry, and have not catched up lately on all the new laptops and stuff, so I hope some of you guys will give it a

  • Open AR Invoice-Drafts via UI-Api

    Hy All! Im loocking for a way to open the window of a AR Invoice-DRAFT using the UI. I need to open a specific Draft that i added bevore via DI, so i know the DocEntry aso. of my Drafts. I can't open the invoice-form, set it to "Search" mode and sear