FIELD PANELS

When I go into "Start Forms Wizard" or "Add/Edit Fields" my
field panels aren't showing up to the left of my document. I'm
currently using Adobe Acrobat 9 Pro. I built this form and when I
was done I kinda locked it by going into ADVANCED, Extend features
in Abode Reader then saved and closed. I found an error on one of
the bubbles when you scroll over the top of one of the sections and
I need to fix it. I saved the document under a different name to
take off the "lock" feature and it let me in but it doesn't show my
field panel. HELP!

Thank you for your posting. These forums are specific to the
Acrobat.com website and it's set of hosted services, and do not
cover the Acrobat family of desktop products. Please visit the
following forums for any questions related to the Acrobat family of
desktop products:
http://www.adobeforums.com/cgi-bin/webx/.3bbeda8b/

Similar Messages

  • Calculated Field formula not appearing in Power View Field List panel

    Hi,
    On Power View1 sheet of this
    workbook, the two PowerPivot calculated Field formulas (First Visit and First date of FY) are not appearing in the Power View Fields panel on the right hand side.
    I want to drag client and First Visit (calculated Field) to the Power View.
    Why is this happening?
    Regards, Ashish Mathur Microsoft Excel MVP www.ashishmathur.com

    I found a workaround for it - I was having the same problem as you. I wanted to display the last refresh date of my data, but Power View wouldn't display a date resulting from the [Last Refresh]=MAX(Date[Date]) formula.
    HOWEVER, a Pivot Table can handle that Calculated field just fine. So I renamed my measure "Refreshed Date" and added another tab in the Excel Sheet. I added a Pivot Table from PowerPivot into cell A1 and the only thing I put was that single
    measure (A2). To the right of that, I did =A2 and created an Excel Data Table. The title of that was "Last Refresh". Now, I could add that Data Table to the PowerPivot Model and into Power View. And then I hid that tab.
    The only downside to this method, is that if you're refreshing single tables at a time, you have to remember to refresh the Pivot Table when new data is added AND update the data in the model. I'm only connecting to one database, so I just choose
    "Refresh All" in Excel and it updates everything. It works perfectly! :)
    Well shoot, I even took a screenshot that helped explain everything, but it won't let me post it because my account isn't verified and it won't tell me how. If you have any questions, please let me know and I'll clarify!

  • Highlighted fields in navigation panel

    When editing a form, I highlight a field, and then try to located it in the Fields Navigation Panel so I can adjust the tab order. The field, however, is difficult to find because it is highlighted in a very light gray on a white background. Is there a way to change the color preferences so it's easier to see highlighted fields in the Navigation Panel?

    I must be misunderstanding something.
    Here is a screenshot of a form after making an edit to green.
    However, if you are refering to the actual entries in the Fields panel then, no, I don't think you can alter the appearance of those entries.
    Be well...

  • Adding user-defined number of text fields.

    Okay I am having problems, obviously. I am developing a program where the user will enter X and Y values and the program will calculate the relational data. However, I can't even get a start.
    First of all, the user defines the number of pairs of points they want to define. For example, they have 20 points, each with its own X and Y, so they click on 20 and then okay in the first window.
    The next window will then take their answer and display X and Y text fields for as many points as they defined. However, I can't figure out any way to do this.
    Feel free to run the program, the problem lies in the method setTextFields(). Help please!
    import javax.swing.*;               //FOR SWING COMPONENT CLASSES
    import java.awt.*;                  //FOR CONTAINER CLASS
    import java.awt.event.*;            //FOR EVENT HANDLING
    public class RegressInput extends JFrame
        private JComboBox listJComboBox;        //COMBO BOX TO HOLD HOW MANY PAIRS OF DATA POINTS THE USER HAS TO ENTER
        private JButton answerButton;           //BUTTON TO CLICK AFTER SELECTING PAIRS OF DATA POINTS
        private JPanel textFieldTopPanel;       //TEXT FIELD TOP PANEL
        private JPanel textFieldBottomPanel;    //TEXT FIELD BOTTOM PANEL
        private JPanel textFieldPanel;           //TEXT FIELD PANEL   
        private CardLayout cardSelector;        //DECLARE CARD LAYOUT OBJECT   
        private JPanel cardDeck;                //DECLARE CARD PANEL OBJECT
        public RegressInput(String title)
            super(title);               //CALL SUPERCLASS CONSTRUCTOR
            //CREATE A CONTAINER
            Container container = getContentPane();
            //INSTANTIATE CARD LAYOUT OBJECT
            cardSelector = new CardLayout();
            //INSTANTIATE PANEL OBJECT
            cardDeck = new JPanel();
            //SET LAYOUT OF CARD DECK PANEL TO CARD LAYOUT
            cardDeck.setLayout(cardSelector);
            //DEFINE LABEL FOR FIRST CARD
            Label question = new Label("How many PAIRS of data would you like to enter?");
            //BUTTON TO SUBMIT NUMBER OF POINTS TO PLOT
            answerButton = new JButton("OK");
            listJComboBox = new JComboBox( getArray() );//USE getArray() METHOD TO SET ITEM LIST OF THE COMBO BOX
            listJComboBox.setMaximumRowCount(10);       //SETS THE VISIBLE NUMBER OF ITEMS TO THE USER
            Label xValues = new Label("X Values");      //LABEL FOR X values
            Label yValues = new Label("Y Values");      //LABEL FOR Y values
            //BUILD CARD DECK
            JPanel comboBoxCard = new JPanel();     //CREATE FIRST CARD
            comboBoxCard.add(question);             //ADD question LABEL TO FIRST CARD
            comboBoxCard.add(listJComboBox);        //ADD listJComboBox TO FIRST CARD
            comboBoxCard.add(answerButton);         //ADD answerButton TO FIRST CARD
            textFieldTopPanel = new JPanel();       //CREATE TOP PANEL OF SECOND CARD
            textFieldTopPanel.add(xValues);         //ADD xValues Label TO SECOND CARD
            textFieldTopPanel.add(yValues);         //ADD yValues Label TO SECOND CARD
            textFieldBottomPanel = new JPanel();    //CREATE BOTTOM PANEL OF SECOND CARD
            textFieldBottomPanel.setLayout(new FlowLayout(FlowLayout.CENTER,10,10));    //SET LAYOUT FOR BOTTOM PANEL
            textFieldPanel = new JPanel();          //CREATE PANEL FOR SECOND CARD
            textFieldPanel.setLayout(new BorderLayout(10, 10)); //SET LAYOUT FOR SECOND CARD
            textFieldPanel.add(textFieldTopPanel, "North"); //ADD textFieldTopPanel TO NORTH
            textFieldPanel.add(textFieldBottomPanel, "South");  //ADD textFieldBottomPanel TO SOUTH
            cardDeck.add(comboBoxCard, "Step 1");       //ADD FIRST CARD TO DECK
            cardDeck.add(textFieldPanel, "Step 2");     //ADD SECOND CARD TO DECK
            container.add(cardDeck);                    //ADD CARD DECK TO CONTAINER
            //DEFINE BUTTON HANDLER OBJECT
            ButtonHandler buttonHandler = new ButtonHandler();
            //ADD ACTION LISTENER FOR BUTTONS
            answerButton.addActionListener(new ButtonHandler());
        }//END RegressInput() CONSTRUCTOR
        //METHOD TO CREATE AND RETURN AN ARRAY OF VALUES FOR JComboBox
        private String[] getArray()
            //CREATE ARRAY TO HOLD 30 VALUES
            int numbers[] = new int[29];
            //CREATE int IN ORDER TO START THE ARRAY AT 2 INSTEAD OF 1
            int number = 2;
            //ASSIGN VALUES FROM 2 TO 30 TO numbers[] ARRAY
            for(int count=0; count < 29; ++count)
                numbers[count] = number;        //SETS EACH INDEX TO number
                number++;                       //INCREMENTS number
            }//END for LOOP
            //CREATE pairs[] ARRAY TO HOLD 30 STRINGS
            String pairs[] = new String[29];
            //ASSIGN VALUES 1 TO 30 IN STRING ARRAY FOR COMBO BOX
            for(int count = 0; count < 29; ++count)
                pairs[count] = "" + numbers[count];
            }//END for LOOP
            return pairs;//RETURNS pairs[] ARRAY FOR THE LIST ITEMS IN listJComboBox
        }//END getArray() METHOD8
        //RETURNS THE ITEM SELECTED BY THE USER FROM THE JComboBox
        private int getValue()
            //ASSIGNS STRING VALUE OF THE JComboBox TO A WRAPPER
            Integer v = new Integer((String) listJComboBox.getSelectedItem());
            //ASSIGNS WRAPPER VALUE TO int
            int value = v.intValue();
            //RETURN VALUE OF SELECTED ITEM
            return value;
        }//END getValue()
        private void setTextFields()
        {//HERE LIES THE PROBLEM! WHAT GOES IN THIS METHOD????
            for(int count = 0; count < (2 * getValue()); ++count)
        }//END setTextFields()
        //BUTTON EVENT HANDLER CLASS
        private class ButtonHandler implements ActionListener
         //PROCESS EVENT
            public void actionPerformed(ActionEvent e)
                //WHICH BUTTON CAUSED THE EVENT?
                if(e.getSource() == answerButton)
                    cardSelector.last(cardDeck);
                    cardDeck.setSize(600,600);
                }//END if STATEMENT
            }//END actionPerformed()
        }//END ButtonHandler CLASS
    }//END RegressInput CLASSHere is main:
    import javax.swing.JFrame;
    public class TestSharpStats
         public static void main(String[] args)
            //DEFINE FRAME OBJECT
            RegressInput window = new RegressInput("Hi");     //SETS TITLE BAR
            window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);      //CLOSES WINDOW
            window.setSize(400, 600);    //SET FRAME SIZE
            window.setResizable(true);  //PREVENTS USER FROM RESIZING WINDOW
            window.setVisible(true);     //SETS window TO VISIBLE
        }//END main()
    }//END TestSharpStats CLASS

    muit-post: http://forum.java.sun.com/thread.jspa?messageID=4442652

  • Getting Error Message When Duplicating Fields

    I am using Acrobat X Pro, ver 10.1.4 to edit an existing Acrobat (non LiveCycle) form. My computer is running Windows XP, Service Pack 3.
    There are three fields on my form that I want to select and duplicate multiple times (11 times down and 4 times across). The fields are one check box field and two text fields. I've used this method in the past, and nevr had any problems:
    1. Click "Tools" > "Forms" > Edit
    2. Select the fields by lassoing them with the cursor
    3. Right click and choose "Place multiple fields"
    When I do the above steps, I get this error message: "Cannot create multiple copies of this selection.One or more fields in the selection have duplicates in this form."
    However, if I multiple select the three fields using the fields panel on the right side of the screen and then right click and choose "Place multiple fields", I do not get the error message and forms are duplicated as expected.
    I played around with this a bit and found that when the first method fails,  if I remove one specific text field from the group of three fields, the "Place multiple fields" functionality works on the remaining two fields. If I add a third, completely new and unique text field to the group of three fields, I get the error message again.
    What am I doing wrong where one method works and the other one does not?

    What error message?
    Are you sure that the network is really public?

  • Custom File Info Panel CS2- CS4

    I have a Custom File Info Panel that has been created in Adobe Photoshop CS2 and works in CS3.  I am having trouble figuring out how to get it to work in CS4.  Is there a way to port the Custom File Info Panel into CS4 without entirely recreating it?
    I am seeing references to FileInfo SDK and creating a new Flex UI but I can't seem to find a definitive method on this pre-CS4 File Info Panel to the new UI - and I am in unfamiliar territory.
    Any assistance or points in the proper direction would be most helpful.
    UPDATE:  Answering at least some of my own questions, I have followed the procedure here:
    http://blogs.adobe.com/gunar/2008/11/customizing_metadata_ui_in_cs4.html
    I am still having some trouble with a couple of the unique properties but I expect that they will be typos... I hope...
    Any good reference information is still welcome.

    Thank you for suggesting the PS Scripting forum but I think the next stop might be the XMP SDK Forum as there are a few similar questions there such as http://forums.adobe.com/thread/540397.  But before I go impolitely cross-posting...
    I've had some success and it appears that my custom file info metadata edited and saved in CS2 is now visible in CS4 and the reverse is also true - metadata edited and saved in CS4 is visible in CS2.  This was built using the Generic Panel from the SDK according to the instructions shown at the link in my original post.
    The only problem is that the external application that relies on the custom metadata doesn't see the CS4 version of the metadata.  I suspect that this is just some general namespace issue.  Perhaps if an XMP expert would be willing to comment on the conversion of the Custom Info Panel based on the following single portion of the metadata to see if I am doing it correctly - I would very much appreciate it.
    In the CS2 Custom Info Panel XML I have this field:
    <panel title="$$$/CustomPanels/XYZ/PanelName=XYZCorp Graphics MetaData" version="1" type="custom_panel">
      group(placement: place_row, spacing: gSpace, horizontal: align_fill, vertical: align_top, reverse: rtl_aware)
      static_text(name: '$$$/CustomPanels/XYZ/fullName=Full Name/Title of Graphic', font: font_big_right, vertical: align_center);
      cat_container_edit_text(xmp_ns_prefix: 'xyzcorp', xmp_namespace: 'xyzcorp', xmp_path: 'FullName', container_type: seq_struct, horizontal: align_fill);
      mru_popup(xmp_ns_prefix: 'twcable', xmp_path: 'FullName', no_check: true, vertical: align_top, container_type: seq_struct, mru_append: true);
      <!-- many more fields -->
    </panel>
    In my CS4 properties.xml the corresponding field:
    <xmp_definitions xmlns:ui="http://ns.adobe.com/xmp/fileinfo/ui/">
    <xmp_schema prefix="custom" namespace="xyzcorp" label="$$$/Custom/Schema/Label=XYZCorp Graphics MetaData" description="$$$/Custom/Schema/Description=CS4 Version of XYZCorp MetaData Custom Panel.">
        <!-- simple properties -->
       <xmp_property name="FullName" category="external" label="$$$/Custom/Property/FullName_Label=Full Name/Title of Graphic:" type="seq" element_type="text"/>
    <!-- many other properties -->
    <ui:separator/>
    </xmp_schema>
    </xmp_definitions>
    It seems that the following CS2 => CS4 translations should be true:
    "xmp_namespace" => xmp_schema namespace property (in this case "xyzcorp")
    "xmp_path" => xmp_property name property (for this one property, "FullName")
    is there another translation that I am missing?  I am betting it has something to do with the CS2 "xmp_ns_prefix" but I am not entirely sure how to map this.  Also perhaps something in manifest.xml (though it didn't seem like it)?
    Many thank you's to anyone that can offer words of wisdom.
    j

  • Guidelines, Form Fields and Tab Order

    I've been fighting a form for about two weeks now with Acrobat 9 Pro. I used guidelines to make sure I could get 2 buttons and a field aligned properly. I have 92 instances of this arrangement. When I reopened the file after I had worked on it for a couple of hours (precisely positioning the guidelines so that I could have consistent field sizes), the guides were gone. What happened. It has now happened three times. I ended up keeping the computer on for 5 days just because I didn't want to lose the guides.
    I'm having a similar problem with the selection for tab order. I have right clicked on the page on the left panel, chosen page properties and set tab order to unspecified. I then reorder the fields in the field panel and save the file. When I open the file again, the tab order is unchecked and the fields are not in the order I left them.
    Does anyone have any idea why I'm losing my sanity with this Acrobat form. I did it in Acrobat because I thought it would be easier than LiveCycle Designer.
    I am duplicating a print form. This means there are 92 places where I have a small button (visible but doesn't print) which executes a JavaScript when pressed to show another button (because it has an icon which will circle the date indicated in a field. I'm thinking I should have the small button on top, aligned on the bottom with the field for the date and the circle icon as the bottom button. How do I get all of these fields and buttons (a mere 276) to go in the right order and stay that way?
    Warren Bingham

    Warren wrote: "I'm having a similar problem with the selection for tab order. I have right clicked on the page on the left panel, chosen page properties and set tab order to unspecified. I then reorder the fields in the field panel and save the file. When I open the file again, the tab order is unchecked and the fields are not in the order I left them."
    In the left panel, in the Sort drop-down list, you have Tab Order selected, right? In the Tab Order drop-down list, is Order Tabs Manually selected?
    I am not able to get any menu by right-clicking on the page in the left panel. Can anyone tell me, is there another way to view the page properties while in Form Editing? I'm not finding it in any of the regular menus (menu bar) and I'd like to verify the setting Warren mentioned, for troubleshooting my own problems with tab order.
    EDIT -- Of course, as soon as I type it out, I discover the cause. I thought he meant the page in the Form Editing view, but no, I have to open the Pages view and right-click on each page. (Oddly, no options were selected at all. Usually a radio button set will default to the most popular option.) So -- sorry, never mind me.

  • Text field Problem

    I created a form in Acrobat 9 Pro. When I type in the text fields to test my form, the text enters itself twice--laid on top of one another. The top set of text is bold. I checked properties and cannot find a solution. Any ideas??? Thanks.

    You probably made two copies of the same field, one on top of another.
    Look in the Fields panel and see if that field appears twice. If so, delete
    one instance.

  • Project 2013 client does not show Project Online Enterprise Custom Fields

    I have about 20 task level custom fields in my Project Online instance. When I open a project and edit a task using Project 2013 client, only a handful appear in the Custom Fields panel.
    Question:
    How do I expose all Enterprise Custom Fields to the Task Information - Custom Fields panel in Project 2013 client?

    Quite a strange issue...
    It could be interesting to test from another machine with another user profile. Have all the fields been created from PWA/server settings? Can you try to create a brand new field from there and test again?
    Then also try to find out what is the specificity of the "end use" custom field which is displayed in the task information dialog box. Basically if 1 is working then the others should also work.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Multiple Captions in a Text Field

    I am trying to create a text field with multiple captions.  The field needs to have a caption of TRANSACTION FEE but it also needs to have +$ next to the value field.  Any suggestions?  I created a text box for the field that holds the Transaction Fee title and then a text field with the caption of +$ however it makes it very difficult when needing to adjust the boxes.

    If your field is holding a numeric value, re-define it as a decimal field rather than a text field. You should be able to use the caption to hold the "TRANSACTION FEE" text, and make the "+$" part of the display pattern.  Click on the field, then click the Patterns... button on the Field panel to define the display pattern.

  • Applet-Panel, background color and size problem

    I am writing an applet with simple form.
    Form is having 3 rows and 2 cols (label and textfield). Each row I want to display in different color. So I created each row with 2 separate panel (one for label and one for text field - of which I set the backgroung color).
    The total form is in one panel with grid layout (2 colmns).
    My problems are
    1)The space between label and text field (col width) can not be resized. I tried to use setSize but not giving any effect.
    2)Another problem is when I am seting the background color, the textfield is also changing the color (textfield I want to white color only). This does not have any effect on Choice
    3)The first label I wanted to use simple break but could not. I tried \n\t, \n, chr(13) + chr(10) etc but not getting any result so created separate panel.
    My code goes here:
    import java.awt.*;
    import java.applet.*;
    import java.awt.event.*;
    public class test1 extends Applet{
    protected TextField refnoTextField=null, payerTextField=null, amtTextField=null;
    protected Choice typeChoice;
    public void init() {
         /* The mainPanel layouts components with BorderLayout manager
              which will hold form and button panel */
         Panel mainPanel = new Panel(new BorderLayout());
         Panel taxformPanel=new Panel(new GridLayout(3,2));
         Label l;
         //panel for tax ref no label
         Panel refnoLabelMainPanel = new Panel(new FlowLayout(FlowLayout.LEFT));
    //here wanted to use simple line break but \n\t does not seems to work not even chr (10), chr(13)
    //so created separate panel (Payment Voucher Or \n\t Reference no.
         Panel refnoLabelPanel = new Panel(new GridLayout(2,1));
         l = new Label("Payment Voucher Or");
    l.setFont(new Font("Helvetica", Font.BOLD,10));
         refnoLabelPanel.add (l);
         l = new Label("Tax Reference No:");
    l.setFont(new Font("Helvetica", Font.BOLD,10));
         refnoLabelPanel.add (l);
         refnoLabelMainPanel.add(refnoLabelPanel);
         refnoLabelMainPanel.setBackground(Color.blue);
         //panel for tax ref no text field
         Panel refnoTextFieldPanel = new Panel(new FlowLayout(FlowLayout.LEFT));
         refnoTextField = new TextField(20);
         refnoTextFieldPanel.add(refnoTextField);
         refnoTextFieldPanel.setBackground(Color.blue);
         //panel for tax type label
         Panel typeLabelPanel = new Panel(new FlowLayout(FlowLayout.LEFT));
         l = new Label("Tax Type:");
    l.setFont(new Font("Helvetica", Font.BOLD,10));
         typeLabelPanel.add (l);
         typeLabelPanel.setBackground(Color.yellow);
         //panel for tax type choice
         Panel typeChoicePanel = new Panel(new FlowLayout(FlowLayout.LEFT));
         typeChoice = new Choice();
         typeChoice.add("Personal Tax");
         typeChoice.add("Income Tax");
         typeChoicePanel.add(typeChoice);
         typeChoicePanel.setBackground(Color.yellow);     
         //panel for tax payers name label
         Panel payerLabelPanel = new Panel(new FlowLayout(FlowLayout.LEFT));
         l = new Label("Tax Payer's Name:");
    l.setFont(new Font("Helvetica", Font.BOLD,10));
         payerLabelPanel.add (l);
         payerLabelPanel.setBackground(Color.blue);
         //panel for tax payer field
         Panel payerTextFieldMainPanel = new Panel(new FlowLayout(FlowLayout.LEFT));
         Panel payerTextFieldPanel = new Panel(new GridLayout(2,1));
         payerTextField = new TextField(20);
         payerTextFieldPanel.add(payerTextField);
         l = new Label(" (as per NRIC or Passport)");
    l.setFont(new Font("Helvetica", Font.BOLD,8));
         payerTextFieldPanel.add (l);
         payerTextFieldMainPanel.add(payerTextFieldPanel);
         payerTextFieldMainPanel.setBackground(Color.blue);
         taxformPanel.add(refnoLabelMainPanel);
         taxformPanel.add(refnoTextFieldPanel);
         taxformPanel.add(typeLabelPanel);
         taxformPanel.add(typeChoicePanel);
         taxformPanel.add(payerLabelPanel);
         taxformPanel.add(payerTextFieldMainPanel);
         /* buttonPanel to hold all buttons */
         Panel buttonPanel = new Panel();
         buttonPanel.setLayout(new FlowLayout(FlowLayout.CENTER));
         Button continueButton = new Button("Continue");
         continueButton.addActionListener(new ActionListener() {
              public void actionPerformed(ActionEvent e) {
                        continueButtonAction();
         Button clearButton = new Button("Clear");
         clearButton.addActionListener(new ActionListener()     {
              public void actionPerformed(ActionEvent e)     {
                   clearButtonAction();
         Button cancelButton = new Button("Cancel");
         cancelButton.addActionListener(new ActionListener()     {
              public void actionPerformed(ActionEvent e)     {
                   cancelButtonAction();
         buttonPanel.add(continueButton);
         buttonPanel.add(clearButton);
         buttonPanel.add(cancelButton);
         mainPanel.add("Center", taxformPanel);
         mainPanel.add("South", buttonPanel);
         add(mainPanel);
    } // public void init()     
    public void continueButtonAction() {
         MessageDialog d=new MessageDialog("Confirm","Continue? ",true, 430, 150);
         System.out.println ("Continue Button Pressed");
    }//continueButtonAction
    public void clearButtonAction()     {
         System.out.println ("Reset Button Pressed");
    }//clearButtonAction
    public void cancelButtonAction()     {
         MessageDialog d=new MessageDialog("Confirm","Cancel Button ? ",true, 430, 150);
         System.out.println ("Cancel Button Pressed");
    } // cancelButtonAction
    } // TaxPaymentApplet3
    Please help,
    manisha

    I do not want to go into detail, but there are some hints you can follow.
    I am talking about AWT, not swing, you should decide which one you will use and don't mix the two of them.
    If you want to run your applet in current browsers without requiring the java plugin, you should be aware, that most browsers support old versions of java and many convenient methods and classes are missing :-(
    So
    You can change the size of a label by putting it in a panel ( labelPanel ), whose layout is set to FlowLayout. Then you put in labelPanel another empty panel ( emptyPanel ), whose layout is set to null, and you set the width of the empty panel to whatever you want ( this is the gap between the label and the next component ), an the height to the least nonsero number possible, i.e. 1. Well, you can add to the labelPanel more components, if you wish. So, when you want a gap, use an empty panel with a fixed size.
    You cannot use line break in a label. You should place more labels in a panel instead. I am not sure if the direction of FlowLayout can be set to vertical, but very probably it can. If so, that is your solution. If not - see what other layout managers you have available, but make sure your choice belongs to java.awt ! BorderLayout allows you to use up to three labels (=> 3 lines). And if nothing fits your needs, ... write a layout manager.
    Well, hope I could help.

  • Unable to set panel  using set method.

    Dear friends,
    I declared a class called EntryPanel in which I declared and initialized the emty panel which I later want to override with new Panel in Child classes. Now I declared an internal frame where I initialized this Panel and later I extended it by Material internal frame in this class I want to override the panel I created in EntryPanel using set but I am unable to do that I am posting the code below. I hope someone would have faced similar problem
    I have created classes as below.
    import java.awt.GridBagLayout;
    import java.awt.Insets;
    import java.awt.GridBagConstraints;
    import javax.swing.JPanel;
    import javax.swing.border.BevelBorder;
    import javax.swing.border.EtchedBorder;
    import noptics.client.lens.gui.AddCancelBtnPanel;
    public class EntryPanel extends javax.swing.JPanel {
         private AddCancelBtnPanel btnPanel;
         private JPanel fieldPanel;
         public EntryPanel() {
              initGUI();
         * Initializes the GUI.
         public void initGUI(){
              try {
                   fieldPanel = new JPanel();
                   btnPanel = new AddCancelBtnPanel();
                   GridBagLayout thisLayout = new GridBagLayout();
                   this.setLayout(thisLayout);
                   fieldPanel.setBorder(new EtchedBorder(BevelBorder.LOWERED, null, null));
                   GridBagConstraints c = new GridBagConstraints();
                   c.gridx = 0;
                   c.gridy = 0;
                   c.gridwidth = 1;
                   c.gridheight = 1;
                   c.weightx = 1.0;
                   c.weighty = 1.0;
                   c.anchor = GridBagConstraints.NORTH;
                   c.fill = GridBagConstraints.BOTH;
                   c.insets = new Insets(5, 5, 5, 5);
                   c.ipadx = 0;
                   c.ipady = 0;
                   this.add(fieldPanel, c);
                   c.gridy = 1;
                   c.weightx = 0.0;
                   c.weighty = 0.0;
                   c.anchor = GridBagConstraints.NORTH;
                   c.fill = GridBagConstraints.HORIZONTAL;
                   c.insets = new Insets(0, 0, 5, 0);
                   this.add(btnPanel, c);
              } catch (Exception e) {
                   e.printStackTrace();
          * @return <code>AddCancelBtnPanel</code> -
          * This can be used to get reference to button panel. 
         public AddCancelBtnPanel getBtnPanel() {
              return btnPanel;
          * @return <code>JPanel</code> - Reference to fieldPanel;
         public JPanel getFieldPanel() {
              return fieldPanel;
          * @param <code>JPanel</code> - panel Replace with orignal Panel
          * with fields.
         public void setFieldPanel(JPanel panel) {
              fieldPanel = panel;
    import javax.swing.JSplitPane;
    import noptics.client.lens.gui.EntryPanel;
    import noptics.client.lens.gui.ListPanel;
    public class ListEntryInternalFrame extends javax.swing.JInternalFrame {
         private EntryPanel entryPanel;
         private ListPanel listPanel;
         private JSplitPane listEntrySplitPane;
          * @param string
         public ListEntryInternalFrame(String string) {
              super(string);
              initGUI();
         public ListEntryInternalFrame() {
              this("");
         * Initializes the GUI.
         public void initGUI(){
              try {
                   listEntrySplitPane = new JSplitPane();
                   listPanel = new ListPanel();
                   entryPanel = new EntryPanel();
                   this.setResizable(true);
                   this.setClosable(true);
                   this.setMaximizable(true);
                   this.setToolTipText("Default List Entry Screen");
                   this.setPreferredSize(new java.awt.Dimension(400,200));
                   this.setAutoscrolls(true);
                   listEntrySplitPane.setOrientation(JSplitPane.VERTICAL_SPLIT);
                   listEntrySplitPane.setOneTouchExpandable(true);
                   this.getContentPane().add(listEntrySplitPane);
                   listEntrySplitPane.add(listPanel, JSplitPane.RIGHT);     
                   listEntrySplitPane.add(entryPanel, JSplitPane.LEFT);
              } catch (Exception e) {
                   e.printStackTrace();
          * @return
         public EntryPanel getEntryPanel() {
              return entryPanel;
          * @return
         public JSplitPane getListEntrySplitPane() {
              return listEntrySplitPane;
          * @return
         public ListPanel getListPanel() {
              return listPanel;
    public class MaterialInternalFrame extends ListEntryInternalFrame {
         MaterialPanel material;
          * Default Constructor
         public MaterialInternalFrame() {
              this("Material Entry Screen");          
          * @param <code>String</code> - string
         public MaterialInternalFrame(String string) {
              super(string);
         public void postInitGUI() {
              material = new MaterialPanel();
              super.getEntryPanel().getFieldPanel().add(material);          
    import java.awt.GridBagLayout;
    import java.awt.Insets;
    import java.awt.GridBagConstraints;
    import javax.swing.JLabel;
    import javax.swing.JTextField;
    * This panel contains entry field for Material.
    public class MaterialPanel extends javax.swing.JPanel {
         private JTextField nameTxt;
         private JLabel fieldLbl;
         private JLabel titleLbl;
         public MaterialPanel() {
              initGUI();
         * Initializes the GUI.
         public void initGUI(){
              try {
                   titleLbl = new JLabel();
                   fieldLbl = new JLabel();
                   nameTxt = new JTextField();
                   GridBagLayout thisLayout = new GridBagLayout();
                   this.setLayout(thisLayout);
                   thisLayout.columnWidths = new int[] {1,1};
                   thisLayout.rowHeights = new int[] {1,1};
                   thisLayout.columnWeights = new double[] {0.1,0.1};
                   thisLayout.rowWeights = new double[] {0.1,0.1};
                   // this.setPreferredSize(new java.awt.Dimension(200,100));
                   titleLbl.setText("Material");
                   GridBagConstraints c = new GridBagConstraints();
                   c.gridx = 0;
                   c.gridy = 0;
                   c.gridwidth = 2;
                   c.gridheight = 1;
                   c.weightx = 0.0;
                   c.weighty = 0.0;
                   c.anchor = GridBagConstraints.NORTH;
                   c.fill = GridBagConstraints.NONE;
                   c.insets = new Insets(5, 0, 5, 0);
                   c.ipadx = 0;
                   c.ipady = 0;
                   this.add(titleLbl, c);
                   fieldLbl.setText("Name:");
                   c.gridy = 1;
                   c.gridwidth = 1;
                   c.anchor = GridBagConstraints.NORTHEAST;
                   c.insets = new Insets(0, 0, 0, Constants.RIGHTGAP);
                   this.add(fieldLbl, c);
                   nameTxt.setColumns(20);
                   nameTxt.setText("Material Name");
                   nameTxt.setText("Material Name");               
                   nameTxt.setMaximumSize(new java.awt.Dimension(100,40));
                   nameTxt.setMinimumSize(Constants.txtDimension);
                   nameTxt.setPreferredSize(Constants.txtDimension);
                   c.gridx = 1;
                   c.gridheight = 1;
                   c.weightx = 1.0;
                   c.weighty = 1.0;
                   c.anchor = GridBagConstraints.NORTHWEST;
                   c.insets = new Insets(0, 0, 0, 0);
                   this.add(nameTxt, c);
              } catch (Exception e) {
                   e.printStackTrace();
    }

    Sorry, this is just a quick response...i haven't
    really read your code too thoroughly.
    You could try calling
    super.getEntryPanel().validate(); after setting the
    field panel
    or super.getEntryPanel().updateUI();I have tried both but it doesn't work
    when I change my postInitGUI function code as given below I am able to see the Label but the new panel I want to set is not getting set. I can add material panel in old panel but I am unable to reset that panel with new Panel.
    // Function postInitGUI in MaterialInternalFrame class
    public void postInitGUI() {
         super.getEntryPanel().getFieldPanel().add(new JLabel("Hello World"));
         material = new MaterialPanel();
         super.getEntryPanel().setFieldPanel(material);
    }

  • Help accessing field inside class

    Hello,
    I got a problem when trying to access my textfields in my field class, here is what I'm doing:
    Fields.class
    public class Fields extends JFrame {
       public Fields() {}
       public Component emploField() {
       JTextField f_Name;
       JPanel f_Panel, main_Panel;
       f_Panel.setLayout( new GridLayout(8, 2 );
       main_Panel.setLayout( new GridLayout( 2, 1 ) );
       f_Name = new JTextField(20);
       f_Panel.add(f_Name);
       main_Panel.add( f_Panel );
       return main_Panel;
    }my main class
    displayGUI.class
    public class DisplayGui extends JFrame {
      protected Fields fild;
      protected JPanel panel;
      public DisplayGui() {
       fild = new Fields();
       panel = new JPanel();
       panel.add( field.emploField() );
       add(panel);
       setSize(300, 300 );
       show();
    }It's working perfect to display my fields, but if i try
    fild.emploField().f_Name.setText("Type Your Name Here");
    //In my DisplayGui classI got a error
    Cannot Resolve Symbol
    Variable f_Name
    java.awt.Component
    fild.emploField().f_Name.setText("Type your name here");
    ^
    What I'm doing wrong?
    Thank You

    no, that wont work, and if it did the newly created component will not be displayed. you shoud instantiate an EmployeeField object with the traits you like, then you will be able to tweek it.
    class EmployeeField extends JPanel{
       public JTextArea textArea
       public EmployeeField(){
          // create and add whatever you want
          textArea = new JTextArea("area");
          this.add(textArea);
    }then in your main
    empField = new EmpField();
    and later
    empField.textArea.setTet("newText");

  • Acrobat X- resize 'Fields' sidebar?

    I rarely use Acrobat X, but I am forced to occasionally as I find a form that won't let me edit the field tab order in 8. I cannot find any way to resize the sidebar to view the field's full name when I am setting the tab order. Is it me, or is there no way to resize this panel?
    I am guessing that I know the answer to this, but I figured I'd ask anyway.

    It's not you.
    I've requested before that they allow the field panel to be floating and resizable, but they didn't go for it, saying that floating panels will not be allowed. They do allow exceptions to this prohibition, such as Acrobat 11's new floating comments panel, so I'm hoping they will reconsider for Acrobat 12. I don't think it will happen unless enough people submit feature requests for this. I think I'll start drafting one to post in the Acrobat feature request forum here so those who agree can pile on.
    BTW, setting a manual tab order is much improved in Acrobat 11. You can turn off the blasted automatic reordering "feauture" and select & drag multiple fields simultaneously in the list.

  • Find a particular form field

    I'm new to forms with no training.  so i apologize if my question seems stupid.  I checked the book (which sadly is for the wrong version of acrobat), the online help, and i even googled it, but haven't found my answer, which surprises me, so it's probably just that i'm using the wrong search terms.
    I'm trying to find a button that got randomly tossed into the file and now i can't find it to put it in the right place.  I have a 66 page form with, like a bazillion buttons, boxes and whatnot on it and i'm trying to find just this one button.  I've seen lists of  form fields in random things that pop up when the JS goes wonky, but i can't find my field in those because (i assume) it's only displaying the ones with busted JS.
    i'm in acrobat 8 without indesign, or livecycle or any tools purported to make my life easier.  Can this be done?  My button is named HELP_BUTTON_5d and i guess i'm looking for some way to bring up a list of every form field (or every button for that matter) on the form, choose it and either get it's page number and x/y coordinates or get taken right to it.  I'd happily use advanced search, but it didn't seem to want to let me search by form field name.
    Thanks

    First of all, you can open the Fields panel on the left, select that button
    but its name and then click it and the file will jump to the page its
    located and select it.
    Using code, you can execute the following to get the button's page number
    (remember it's 0-based, so 0 means page 1, etc.):
    this.getField("HELP_BUTTON_5d").page
    This code will tell you the exact location of the button on the page:
    this.getField("HELP_BUTTON_5d").rect
    And this code will set the focus to that field:
    this.getField("HELP_BUTTON_5d").setFocus()
    By the way, just to make you feel better, InDesign or LiveCycle wouldn't
    help you a bit with this problem...

Maybe you are looking for

  • I would like to update Garageband to the newest version for my macbook pro (OS X 10.6.8)

    I currently have Garageband V3.0.5 and I would like to update but when I try to get V4 or higher I get an error. Is this as high as I can go with my operating system?

  • Image Capture Broken?

    (I originally posted this in the Mountain Lion forum, but am now resposting here at the behest of a fellow commenter): About 90% of the time when I plug in my iPhone or iPad, they are not detected by Image Capture (or iPhoto). The other 10% of the ti

  • Notification to third party tool in an infospoke

    Hi, I am trying to create an infospoke.In the 'Destination' tab, i selected database table. Below that there is a checkbox for "notification to third part tool" What does this mean? Sindhura.

  • J1inmis, J1INQEFILE

    Hi, The documents for which Bank challan update is done, The External challan number is not getting displayed in the transaction code J1INMIS report And also not catching in quarterly return which is created by transaction code J1INQEFILE . This prob

  • PrE won't render effects correctly

    I'm sure it's a simple oversight, but it's driving me nuts. What am I doing to cause PrE 9 not to render the auto level effect correctly when I "Share" it out to view? I've searched through the forums and the support for the last couple hours and hav