Equal widths in jSplitPane

I have a JSplitPane with a left JPanel and a right JPanel. How can I set it so that the divider is set to be exactly in the middle of the split pane (i.e. how can I get it so that the two panes of the split pane have equal widths)?
Thanks - JP Slavinsky

Question 1: How can I set it so that the divider is set to be exactly in the middle of the split pane
ANS: setLocation(0.5);
Question 2: how can I get it so that the two panes of the split pane have equal widths
ANS:
you can use a combination of setSize of JPanel and getSize of the Split pane and set the size of each panel to be half of the size of the splitpne

Similar Messages

  • Need all textframes in equal width and height

    Hi All,
    Request:
    I need all the text frames in equal width and equal height in my active document.
    Trying code:
    var myDoc = app.activeDocument
    var myTF = myDoc.textFrames.everyItem().getElements()
    alert(myTF.length)
    app.activeDocument.viewPreferences.horizontalMeasurementUnits = app.activeDocument.viewPreferences.verticalMeasurementUnits = MeasurementUnits.MILLIMETERS;
    for(k=0; k<myTF.length; k++)
        myTF[k].geometricBounds[3] = myTF[k].geometricBounds[1]+125    //Doubt this line
        alert(myTF[k].geometricBounds[3])
    Could anyone give solution for my request.
    Thanks
    Beginner_X

    Hi,
    You can edit geometricBounds as a whole array - not as a particular [x] element. So to change object position use:
         object.geometricBounds = YourNewArray;     //      [y,x,Y,X]
    but in THIS case better way is to use:
         object.resize(
                CoordinateSpaces.INNER_COORDINATES,
                AnchorPoint.TOP_LEFT_ANCHOR,
                ResizeMethods.REPLACING_CURRENT_DIMENSIONS_WITH,
                [ mWidth, mHeight] );
    Jarek

  • How can I modify column width in a spreadsheet report without using an Excel template

    I currently use the LabVIEW Report Generation toolkit in LabVIEW 2011SP1 to create simple spreadsheet reports that I can build/print without having Microsoft Office products installed.  I really like being able to do this, and it allows me to generate nice on-demand data reports - I'm also not tied to having Office installed on the system I'm using, so this works on just about any test fixture I can install the software on.  
    I recently have a requirement that I must have variable-length columns in my report.  I currently use the VI "Append Text Table to Report" in order to create a text table, but the column width requirement is that all columns must be equal width UNLESS I use an Excel Template file to define my column widths.  
    My questions are:
    Is it possible to create a text table and define per-column widths without using an Excel Template?  If so, how?  My report mainly has a lot of small numerical values for the columns, but some columns contain system names or status messages - I really hate the longer text blocks wrapping and taking up so much real-estate when if I could control the column widths I can get all my data on a single line.
    I'll admit I haven't tried this myself yet, but if I use an Excel Template will that require me to have Excel installed on the PC in order to print/generate reports?
    Is there a recommended way (with an example) of generating a text table in a report with or without using the "Append Text Table to Report" VI that allows me to have custom column widths that doesn't require me to manually build a custom print page?  If I do have to create a custom print page, what would be the most straightforward approach?
    Thanks!
    -Danny

    Sure, I'll provide a pared down example that demonstrates my use-case:
    I have a control to the VI that takes in a 2D array of strings representing the data I want printed in a table.  I am generating a standard report, adding a table to the report, and printing it.  The first VI is "New Report.vi", the second VI is "Append Table to Report.vi", and the third is "Print Report.vi", all found standard in the Report Generation palette.
    Note that the "Append Table to Report.vi" has an input parameter "Column Width" with a default value of (1).  This input parameter is a single input parameter, which defines the column widths of ALL the columns in my table - hence, with the VI the way it is, all my columns will be 1 inch wide.  
    I find myself needing to be able to define per-column widths, not just a single global column width parameter.  
    The only way I have found to do this is by using an Excel template file.  The "New Report.vi" takes in a "template" parameter, and if used, the report generation toolkit can be set to ignore the "Column Width" input parameter on the "Append Table to Report.vi" by setting the width value to -1.  Instead it will launch Excel, open the template file provided, build the table using the template, will close Excel, and will attach the generated table to the report.  However, I have a strict requirement that Microsoft Office NOT be required to be installed on the computer.  
    So, without using Excel, is there a way to generate a table in a report and define the width of each column individually?
    -Danny

  • Report rows differing widths

    Hi,
    I have a report which contains 4 tablix one above the other all with exactly the same left, padding and width. In Bids preview all the rows display equal width and they also do if i export as PDF. However in report viewer all the tablix are different widths,
    some even have the header in one width and the details rows different.
    I believe the rows are being stretched as one of the cells has an image in which is stretched in report viewer and looks fine exported to pdf or viewed in bids.
    Does anyone know what the issue is?
    Regards
    Chris

    Hi Chris,
    According to your description, you can render your report properly in BIDS and PDF file. However, when it displayed in report viewer, the tablix are in different size. Right?
    In this scenario, it seems the issue of the page size in report viewer. It seems the page size in report viewer is too small, so when displayed in report viewer, the image still keeps the same size as you preview in BIDS, and the other part need to
    resize so that it can fit the report viewer. Please try to adjust the page size. See link below:
    http://msdn.microsoft.com/en-us/library/ms251701(VS.80).aspx
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Select Options field width?

    Hello,
    In my WD view i have many Select Options fields which are grouped into various blocks. Now when i see the output all the Select Option fields within its block look good with equal widths between the text and field, but between various block levels the width isn't the same. Is there anyway i can control the width for Select Option field elements? Thanks.
    Regards,
    Vasu

    Hi Vasu.
    AFAIK you do not have any chance to configure the layout of the select options.
    You can only use blocks as you already did.
    So why you do not use blocks for all your select options to avaoid this issue?
    Cheers,
    Sascha

  • JTable column widths - help

    Hi,
    I have a JTable and I am having problems with the column widths. Currently, I place my JTable in a JScrollPane, and that's it. What I want is this:
    1. When the table is initially displayed, I want all the columns to be of equal width and use the entire width of the table (so no empty space at the end of the table)
    2. When I resize a column I want the other columns to maintain their size, and just have the scroll bars appear.
    3. When I resize the frame/browser that my app is running in, I want the scroll bars to appear.
    I tried the different autoResizeModes but I cant get the entire result which I need..any suggestions? Below is a code example...
    import java.awt.BorderLayout;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    public class Test1 extends JPanel {
         JScrollPane scroller;
         JTable table;
         String[][] rowData = new String[][] {
                   {"John", "18"},
                   {"Bill", "20"},
                   {"Alex", "17"}
         String[] columns = new String[] {
              "Name", "Age"     
         public Test1() {
              table = new JTable(rowData, columns);
              scroller = new JScrollPane(table);
              setLayout(new BorderLayout());
              add(scroller, BorderLayout.CENTER);
         public static void main(String[] args) {
              JFrame f = new JFrame();
              f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              Test1 t = new Test1();
              f.getContentPane().add(t);
              f.setSize(600, 600);
              f.setVisible(true);
    }

    Forget about my last post. The following code works but I guess you'll have to work on it to make it more elegant.import java.awt.BorderLayout;
    import javax.swing.*;
    public class Test1 extends JPanel {
         String[][] rowData = new String[][]{{"John", "18"}, {"Bill", "20"}, {"Alex", "17"}};
         String[] columns = new String[]{"Name", "Age"};
         JTable table;
         JScrollPane scrollPane;
         public Test1() {
              super(new BorderLayout());
              table = new JTable(rowData, columns);
              table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
              scrollPane = new JScrollPane(table);
              add(scrollPane, BorderLayout.CENTER);
         public void pack() {
              System.out.println("pack");
              int columnCount = table.getColumnCount();
              if (columnCount == 0) {
                   System.out.println("columnCount = 0");
                   return;
              int width = scrollPane.getViewport().getSize().width;
              System.out.println("width = " + width);
              if (width == 0) return;
              int columnWidth = width / columnCount;
              System.out.println("columnWidth = " + columnWidth);
              for (int i = 0; i < columnCount; i++) {
                   table.getColumnModel().getColumn(i).setPreferredWidth(columnWidth);
              table.revalidate();
              table.repaint();
         public static void main(String[] args) {
              JFrame f = new JFrame();
              f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              final Test1 t = new Test1();
              f.setContentPane(t);
              f.setSize(600, 600);
              f.setVisible(true);
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        t.pack();
    }

  • JTable column width

    I am having trouble initializing column widths in my JTable.... after I create the table I use JColumn.setWidth(int) to set the width of every column. It doesn't work! the table sets
    default equal widths. Am trying like this :
         if(e.getSource()==column)
         table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);     
    for(int i=0;i<table.getColumnCount();i++)
    table.getColumnModel().getColumn(i).setPreferredWidth(Integer.parseInt(column.getText()));
    modelTable.fireTableStructureChanged();     
         }

    Instead of setPreferredWidth(..), try setMaxWidth(..)
    table.getColumnModel().getColumn(i).setMaxWidth(Integer.parseInt(column.getText()));
    I does the trick for me.

  • Column renderers/widths disappear?

    I have a standalone java swing program in which I have defined three column header renderers to display an icon in the header, two column renderers to format text, and have setMaxWidth on 7 of 9 columns. I don't consider this an excessive amount of column modifications. Some users are reporting (and have sent screen shots) that mysteriously all the columns have reverted to default, equal widths; the header renderers show no icons; and the text formatting renderers show the class name of the object indicating the default renderer is in effect. Extensive, in-house QA never saw this behaviour, however a handful of external users are reporting it.
    Has anybody seen anything like this happen? What would cause all the column attributes/renderers to suddenly revert to defaults?
    Thanks in advance
    John Alfredo

    Perhaps more detail is in order.
    The project is a form where geologists can enter the legend that attaches to a map. The form is web-accesible. On an HTML page, an applet is supplied a map id and potentially a legend template id as parameters, which it uses to connect to an Oracle database and bring back either a completed legend to modify, a template, or a new blank legend. The user can choose symbolisations, colours, enter a label and type-in a long description. Further they can choose from a list of standardised geology attributes that when combined describe the legend item in a succinct web-searchable way.
    The reason I am not doing it the easy way with DHTML is because of two features that are necessary. One is that the user should be able to specify the order of the items at any time, the second is that they should be able to create a hierarchy of items at any time. Moving table rows about and making parent-child relationships in a GUI are just about impossible with HTML so I thought I might be able to do it with Java.
    The symbol/colour and long description problems are trivial. What I would like is a column in the table, probably the one where the legend label is shown/entered, that is a tree, to which items may be added or removed as desired and where parent-child relationships may be set up on a button click or two. Further, the last column in the table would contain (in each cell) a table of the standardised attributes and their values, for the item in that row. In order to specify sequence the user should be able to drag and drop rows to where they think they should be (and the hierarchy would change simultaneously).
    It is ambitious, particularly since I am a novice in Java, but I can't think of any other way to create a malleable tree stucture that can be manipulated over the web. Can you think of any applications that are currently doing this? Send me a URL if so.
    I am most grateful for your help.

  • PLEASE HELP ME FOR MY PROJECT

    Hello.
    I have my project to be done by Monday.
    I typed some code, but have no idea what to do anymore. No clue...
    The following is the project overview etc.
    Overview
    In a single source file named App.java, define an Employee class to encapsulate employee data and an App class defining an applet to maintain a collection of Employee objects.
    Employee Class
    Define a small, non-public class named Employee that encapsulates private instance variables for name (String) and pay rate (double). The class needs a single constructor to instantiate an Employee object with values received for both instance variables. It also needs minimal set() and get() methods (such as setName(), getPayRate(), etc.) that allow a class client to store and retrieve the value of each instance variable. Do not be concerned with editing the data within this class. It is used only to support the testing of your applet.
    Code this class inside your App.java source file but after the definition of the App class. Be sure to omit the specification of public in the class header (because Java only allows one public class per source file).
    App class
    This public class will define the processing of your applet. Its required features are as follows:
    Input Components:
    Name (a TextField). For entering or displaying an employee's name.
    Pay rate (a TextField). For entering or displaying an employee's pay rate. When used for input, the value must be edited (see the processing notes below). If the value is invalid, display an appropriate error message.
    First (a button). When clicked, triggers the display of the name and pay rate of the first employee in the collection. If the collection is empty, display an appropriate message.
    Next (a button). When clicked, triggers the display of the name and pay rate of the next employee in the collection. If there are no more objects in the collection, display an appropriate message.
    Find (a button). When clicked, triggers the display of the name and pay rate of the employee whose name currently appears in the name text field. If the requested employee doesn't exist, display an appropriate error message.
    Add (a button). When clicked, triggers the construction of an Employee object having the currently displayed name and pay rate and the addition of the object to the collection. Display appropriate error messages if input data is missing or incorrect or if the employee already exists within the collection.
    Delete (a button). When clicked, triggers the deletion of the Employee object having the currently displayed name from the collection. If the specified employee doesn't exist, display an appropriate error message.
    Output components:
    Number of employees (a Label). For displaying how many Employee objects are currently within the collection. This must be changed as employees are added or deleted from the collection.
    Message area (a TextArea). For displaying messages.
    Processing notes:
    The applet must get the value of an HTML parameter named "maxRate". Convert the associated value string to a double and use it to edit a pay rate entered by the user. It represents the maximum allowable pay rate for an employee. If an attempt is made to enter a larger pay rate, display an appropriate error message.
    Use GridBagLayout for the applet's components. The arrangement of components is up to you.
    Use a SortedMap implemented as a TreeMap for the collection. It is to be maintained in ascending order based upon employee name.
    When the user moves the mouse to touch one of the buttons, its color or font should change. When the mouse exits the button, its color or font should return to normal.
    The following is the code I have so far
    <CODE>
    import java.util.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    public class App extends Applet implements ActionListener, MouseListener,
    MouseMotionListener{
    // Instance variables for the employees' name and pay rate.
    private String name;
    private double payRate;
    // Instance variables for referencing the Employee name heading and its text field.
    private Label nameLabel;
    private TextField nameField;
    // Instance variables for referencing the pay rate heading and its text field.
    private Label payRateLabel;
    private TextField payRateField;
    // Instance variables for referencing the number of employees' heading and
    // its text field.
    private Label empNumLabel;
    private TextField empNumField;
    // Instance variables for referencing the "First", "Next", "Find", "Add", and
    // "Delete" button.
    private Button firstBtn;
    private Button nextBtn;
    private Button findBtn;
    private Button addBtn;
    private Button deleteBtn;
    // Instance variables for referencing the message area.
    private TextArea msg;
    public static void main(String[] args){
    SortedMap m = new TreeMap();
    // This method defines initial (one-time) applet processing.
    public void init(){
    // Set the size and background/foreground color for the applet window.
    setSize(250, 350);
    setBackground(Color.lightGray);
    setForeground(Color.green);
    // Choose GridBagLayout and create a GridBagConstraints object for use in
    // laying out components to be added to hte container.
    setLayout(new GridBagLayout());
    GridBagConstraints c = new GridBagConstraints();
    // Initialize constraints to stretch small components to fill their entire
    // display area, give all rows equal height when distributing extra vertical
    // space, and give all columns equal width when distributing extra horizontal
    // space.
    c.fill=GridBagConstraints.BOTH;
    c.anchor = GridBagConstrainst.CENTER;
    c.weightx = 1;
    c.weighty = 1;
    // Build Employee Name label and add it to the top-left cell in the layout.
    nameLabel = new Label ("Employee Name");
    c.gridx = 0;
    c.gridy = 0;
    c.gridwidth = 1;
    c.gridheight = 1;
    add (nameLabel, c);
    // Build Employee Name text field and add it to x=1, y=0 in the layout.
    nameField = new TextField (30);
    c.gridx = 1;
    c.gridy = 0;
    c.gridwidth = 1;
    // or c.gridwidth = GridBagConstraints.REMAINDER; //Last on row.
    c.gridheight = 1;
    add (nameField, c);
    // Build Pay Rate label and add it to the second row, first column in the layout.
    payRateLabel = new Label ("Pay Rate");
    c.gridx = 0;
    c.gridy = 1;
    c.gridwidth = 1;
    c.gridheight = 1;
    add (payRateLabel, c);
    // Build Pay Rate text field and add it to x=1, y=1 in the layout.
    payRateField = new TextField (8);
    c.gridx = 1;
    c.gridy = 1;
    c.gridwidth = 1;
    // or c.gridwidth = GridBagConstraints.REMAINDER; //Last on row.
    c.gridheight = 1;
    add (payRateField, c);
    // Build number of employee label and add it to x=1, y=2 in the layout.
    empNumLabel = new Label ("Number of Employees");
    c.gridx = 1;
    c.gridy = 2;
    c.gridwidth = 1;
    c.gridheight = 1;
    add(empNumLabel, c);
    // Build number of employee text field and add it to x=2, y=2 in the layout.
    empNumField = new TextField (5);
    c.gridx = 2;
    c.gridy = 2;
    c.gridwidth = 1;
    c.gridheight = 1;
    add(empNumField, c);
    // Create the "ADD" button and add it to the x=1, y=3 in the layout.
    addBtn = new Button ("Add");
    addBtn.setBackground(Color.red);
    addBtn.setForeground(Color.black);
    addBtn.addActionListener(
    new ActionListener() {
    public void actionPerformed (ActionEvent e){
    c.gridx = 1;
    c.gridy = 3;
    c.gridwidth = 1;
    c.gridheight = 1;
    add(addBtn, c);
    // Create the "DELETE" button and add it to the x=2, y=3 in the layout.
    deleteBtn = new Button ("Delete");
    deleteBtn.setBackground(Color.red);
    deleteBtn.setForeground(Color.black);
    deleteBtn.addActionListener(
    new ActionListener() {
    public void actionPerformed (ActionEvent e){
    c.gridx = 2;
    c.gridy = 3;
    c.gridwidth = 1;
    c.gridheight = 1;
    add(deleteBtn, c);
    // Create the "FIRST" button and add it to the x=0, y=4 in the layout.
    firstBtn = new Button ("First");
    firstBtn.setBackground(Color.red);
    firstBtn.setForeground(Color.black);
    firstBtn.addActionListener(
    new ActionListener() {
    public void actionPerformed (ActionEvent e){
    c.gridx = 0;
    c.gridy = 4;
    c.gridwidth = 1;
    c.gridheight = 1;
    add(firstBtn, c);
    // Create the "NEXT" button and add it to the x=1, y=4 in the layout.
    nextBtn = new Button ("Next");
    nextBtn.setBackground(Color.red);
    nextBtn.setForeground(Color.black);
    nextBtn.addActionListener(
    new ActionListener() {
    public void actionPerformed (ActionEvent e){
    c.gridx = 1;
    c.gridy = 4;
    c.gridwidth = 1;
    c.gridheight = 1;
    add(nextBtn, c);
    // Create the "FIND" button and add it to the x=2, y=4 in the layout.
    findBtn = new Button ("Find");
    findBtn.setBackground(Color.red);
    findBtn.setForeground(Color.black);
    findBtn.addActionListener(
    new ActionListener() {
    public void actionPerformed (ActionEvent e){
    c.gridx = 2;
    c.gridy = 4;
    c.gridwidth = 1;
    c.gridheight = 1;
    add(findBtn, c);
    // Create message are and add it to x=0, y=5 in the layout.
    msg = new TextArea (5, 20);
    c.gridx = 0;
    c.gridy = 5;
    c.gridwidth = GridBagConstraints.REMAINDER; // Last on row
    c.gridheight = 1;
    add(msg, c);
    //???????????????????????????????????????????????/////////////////////////???????????????????????????????????????????????///////////////////////public void setName (String newName){
    name = newName;
    public void setPayRate (double newPayRate){
    payRate = newPayRate;
    public void getName () {
    return name;
    public void getPayRate() {
    return payRate;
    //Change color of Button
    public void mouseEntered (MouseEvent e){
    Color oldBackground = addBtn.getBackground();
    addBtn.setBackground(addBtn.getForeground());
    addBtn.setForeground(oldBackground);
    public void mouseExited (MouseEvent e){
    Color oldBackground = addBtn.getBackground();
    addBtn.setBackground(addBtn.getForeground());
    addBtn.setForeground(oldBackground);
    </CODE>
    I don't know where to put Employee class.
    I don't know what to do anymore...
    I'm soooooooooooooo stuck and just want to cry...
    Please give me any suggestion/help so that I could move on.
    Thank you so much in advance

    Step 1 (analying your specs).
    In a single source file named App.java, define an Employee class to encapsulate employee data and an App class defining an applet to maintain a collection of Employee objects.
    You are given lots of usefule information.
    Name of the primary (source) class to create App
    Primary class (source) will include an employee class.
    The need to maintain a collection (list) of employee classes.
    first thing i do is
    public class App {
        Vector myEmps = new Vector();// will hold the employee objects;
        Employee emp;      // single instance of an employee object
        App() {
           // this is how we add employee objects to the list
           // in this case the list is a vector.
           myEmps.add(new Employee("sean",1,80000.50));
           myEmps.add(new Employee("davey",1,70000.25));
           myEmps.add(new Employee("harry",1,90000.15));
    class Employee {
    // define employee data as variables
       String name;
       int ID;
       double payRate;
          Employee(String n, int ID, double pr) {
            this.name = n;
            this.ID = ID;
            this.payRate = pr;
         public void setName(String n) {  // can set/change emps name
            name = n;
         public void setPayRate(double pr) {  // can set/change payRate
              payRate = pr;
    }this is just a start

  • How to create a shape based on the shape of an image

    I want to erase a portion of a mask based on the shape of an image. how can i do this? btw how to create a circle? thx

    Both your questions leave room for imagining what you might really mean, but here's a shot at answering them.
    If you have a mask that you want to erase portions of based on an image... assuming the mask is a simple rectangle you drew with the rectangle tool, change the opacity of the rectangle's fill in the color panel to make it see-thru, place the mask over the image, and using the eraser tool, erase the portions of the mask that you do not intend to retain using the image below it as a guide.
    As for drawing a circle, hover over the rectangle tool and a menu should appear.  Select the oval/ellipse tool.  To draw a circle, hold down the shift key and draw just as you did for the rectangle.  The shift key forces it to retain equal width and height.

  • How to create this chart in Numbers?

    The sample chart such as following web site:
    http://gallery.mac.com/chouwenpo#100008/-E5-9C-96-E7-89-87-203&bgcolor=black
    I want to create this chart by "line+symbol chart".
    The x-axis need to be an "interval".
    Please, help me if you know how to do this.
    Thank you a lot.
    wenpo

    I do appreciate your kindness reply.
    Please let me repost my question and express my concern again
    I look forward from you guys.^^ I do need your help!
    Thanks again.
    <<Question repost>>
    for example:
    Assume we have 10 (x, y) pairs as below:
    (10,10), (12,23), (47,9), (63,24), (88,100), (150,41) ,(155,166), (188,2), (198,58) and (500,200). Each (x,y) pair is a single point in the graph.
    If we use Scatter chart to handle these data, the output graph is fine but not suitable for me to use.
    I wish there will be a trend line between two of each independent points of Scatter graph, and obtain a graph just like the output graph as used in Line chart (line+symbol).
    That is, in Line chart, the values of x-axis(with equal-width intervals) are categorical; however, my data is ordinal value or continuous value (like Time, Concentration...etc.). I wish this software has the ability to show the interaction between each points.
    Message was edited by: wenpo

  • Why is there a giant space under these cells?

    My Web site, existing and in revision, both have a number of pages made the same way, but one works differently. I need a clue what to "fix."
    Each page has a grid.
    Each grid has a table.
    Each table has two equal-width columns.
    Each table has a random number of rows.
    Each cell in the right-hand column ends with text and a period.
    The cell immediately below begins with a horizontal rule full width.
    Previewing in Mac Safari, all look just right.
       (Odd observation. Though in GL there is no added line space below the last word of text and above the HR that follows, in the browser, there is about 1/4-inch of space, equal to about two lines of text, and this is exactly what I want.  Why GL has no space but the browsers do have space, I am curious. But I am very happy for this effect.)
    But on one page,
    one page only,
    same treatment,
    it does not look right. In fact, on that page, below each cell that ends with a word and a period and above the HR immediately below, Safari has about an inch or more of blank space, and in Firefox (which I seldom deal with), it may double that to a big "hole."
    Could thi sbe why?
    On that page, in one cell in the left column I have used shift-return plus return in combination several times so an item in the left aligns visually with a related item in the right. This is because there is more text on the right side and I want the related subhead in the left to drop down to align with the copy on the right. In another left-hand column on that page, I have used the shift-return and return combination a larger number of times so a logo aligns with the bottom of that cell.
    Could the spaces I added within each of two left-hand cells be screwing up the modest spacing belwo the last line of text that I am seeking to achieve, and that I have achieved on all other pages?
    Thank you.

    > try duplicating the page and lose the grid, just use a table, with heights left at auto
    Kath, here's what I did:
    New page, no grid.
    Drag the component object over. Drag the table over.
    View it in Safari as I usually do,
    The problem did NOT go away.I suspect that whatever the spacing problems are, they are now built in to the component and table and to avoid them I'd have to start from scratch, retype everything, which I may do.
    However I did not know what "heights left at auto" means. Plz xplain and I'll try that.
    I also did a variation of what you suggested: dupe the page and delete the grid. I did something similar. Just removed the grid and viewed it in Safari. Same result. (Did not save the changes of course.)
    What is most confusing is that that same grid and treatment is used on many other pages which do NOT have that problem. Some weird gremlin in that page.

  • MS Word 2007 table lines have interesction tick marks

    Hello,
    MS Word 2007 SP2
    Adobe Acrobat 9.0.0 Plus
    A table created in Word, where row lines are shown but not column lines, shows on some lines tick-marks where row and colums would intersect. In AA version 7 this was not an issue, however, when converting from within Word this too was an issue.
    The image below didn't turn out as clear here than the original, but you still can see the Word bit left and AA on the right with the tick-marks.
    How can it be avoided?
    Thank you
    Stefan

    I'm experiencing this myself. I found instructions to navigate to Edit > Preferences > Page Display. Then, uncheck 'Enhance Thin Lines'. This lightens the lines considerably; reducing the very dark, chunky lines. However, table lines are still not the same width/thickness regardless of the zoom level in Acrobat (50% - 800%). And there is no pattern to where thicker lines appear; header rows, odd rows, etc. A random mess. I'm 100% positive the lines are set properly in Word 2007. And interestingly, all tables lines display equal widths consistently in printed copy- when printing from the PDF. The issue seems to be Adobe's electronic page display and that the 'solution' I found does not work. I have the latest version of Acrobat Pro and a colleague has the latest version of the Reader without a writer license-- no conflict of versions or software suite.
    I deliver documentation to customers electronically. My documents have many tables. My deliverables to look unprofessional and unpolished. My deadlines haven't been met due to research and this unresolved issue. Difficult to accept.
    So frustrated!  Please help!
    Jennifer

  • JD12 JSF designer does not redraw

    I am having many issues in JD12 JSF designer.
    One is that when I for example select a navigation button's spacer and change it's Width property, the space between buttons does not change until file is closed and re-opened. Is that expected behaviour? Dropping an operation onto the navigation button is very tricky as well. Even when selected is 'Panel group layout', sometimes a rebinding window comes up. The space where a button has to be dropped is so narrow and volatile, that dropping a button becomes a torture that I have to repeat 2-3 times before it actually drops exactly one button (and does not rebind or drop 3 copies of it).
    Another is that when I am changing table column Sortable and Filterable properties, they take 2 times to change the selected values from default to true or vice versa. The green dot does appear in front of property name, but drop down reverts to default (or previous value whatever it was). Suppose I changed Sortable from default to true - it did not change. Then I am changing Filterable in the sam manner and it does not redraw, but Sortable now does. Then I have to change sortable to the same new value again and Filterable now changes. Very annoying. Is there a fix?
    Selecting the controls is bugged as well.  Suppose I selected a table column and changed its Row header property to true, then went on to change another one. When I click another column, it does not select, but a baloon pops up which contains a binding for that column. To close it I have to click elsewhere and re-click the column again. Why is that happening?
    Suppose I dropped a panel border layout onto a facet. Undoing that does not visually remove the border layout from a form. Only closing a file and re-opening will re-draw. Similarly, I am adding a navigation button from Operations, but the buttons do not re-draw to show that a new button was added. Same as previous, only closing/re-opening a file shows a new button. Royal PITA. Is there a fix?
    Suppose I am changing initial size of a table. The number by the right corner changes showing the new size, but after the bottom border is released, the size does not re-draw. Only closing and re-opening a file shows the new size.
    Resizing table columns is painful. When a column is shrinking, the columns to the right of it do not move accordingly - they stay put and the width of the very next column is increasing. Thus it is absolutely impossible to arrange the columns that are beyond visible width of the table. When the column is growing, the columns to the right of it behave erratically - often they suddenly increase their width and disappear beyond the right table border. This is simply infuriating.
    The last is that if the data controls dropped onto the page contain columns from more than one table, then resulting application will throw runtime exceptions (null pointer). But if I deleted all columns but that very object's own columns, and dropped it onto the page, then it will work. After that I can add any columns from that object and it will work fine. The Create Table wizard clearly creates defective code.
    I am running JDEVADF_12.1.2.0.0_GENERIC_130608.2330.6668 under Windows 7 32bit. Are these issues fixed in a more recent build or going to be fixed soon?

    You are not understanding the term 'narrow space' I've used. It does not equal 'width of spacer between the buttons. It equals the area of display monitor where an orange drop indicator appears that supports dropping a new button in between the existing ones. I.e. where JD12 is allowing me to drop a new operation without rebinding the existing buttons.
    The JDK version is the one that JD12 itself installed - 1.7.0_15. As that's the JDK that was shipped with JD12, I contend it has to be sufficient.
    There is no Mcaffee on this machine. They are using Symantec AV. There is about 300-500 MB free RAM when these issues are occurring and CPU load is about 0%.
    Another issue I just noticed is that javadocs are not loading. Doc Path for JDK 1.7.0_15 that came with JD12 is set to http://docs.oracle.com/javase7docs/api/ and there is no doc under the folder where JD installed its JDK. I don't know how to fish docs for an older JDK out of Oracle web site.
    As you contend that it is my system that is a root cause, I looked up the system requirements for JD12 and found that my system exceeds them.
    Oracle&amp;#174; Fusion Middleware System Requirements and Specifications
    Resource
    Recommended Minimum
    Value
    CPU
    Intel Core 2 i5 or equivalent
    Memory
    3 GB of RAM on 32-bit systems
    4 GB of RAM on 64-bit systems
    Display
    65536 colors, set to at least 1024 X 768 resolution
    Hard Drive Space
    3 GB for Studio Edition
    90 MB for Java Edition

  • Inconsistent placement of anchored text frame in data merge document

    Just writing up this bug so that anyone else who encounters it can find out what's going on with less head-scratching.
    It seems that InDesign's data merge feature gets confused when there are anchored objects in a text frame that's anchored inside another text frame, which can result in:
    exported PDFs that don't match the InDesign preview when viewed in Acrobat (so, nasty surprises on some pages after exporting)
    InDesign previews that - bizarrely - show differently depending on whether you navigated to the preview by hitting the arrow keys in the Data Merge box or by entering a number.
    (sadly I can't provide a file for confidentiality reasons - but the problem point had multi-line data merge entries, a text frame that was anchored in another text frame of equal width, and anchored images and text frames in this anchored text frame)
    There were certain entires where, if I navigate to them in the preview using the 'next' and 'previous' keys, there was 4mm less space between the nested text frame and the previous line than if I navigate to it by entering the number. Exporting as a PDF through data merge used the variant with more space.
    Re-working the area in question so that the nested text frame wasn't needed seems to have removed the problem (but loses the ability to vertically align these elements in a fixed size frame that is in the text flow).

    You didn't say what version of ID, or whter a single or multiple record per page merge, but the Preview is known to be buggy for multiple records since CS5 and might be for single records as well.
    I have an annual directory that is built by data merge with one section in each listing as an anchored frame, and I've never had a problem, but it's not as complex as your description, nor do I ever merge to PDF (though I've heard here from several users that it's more reliable).
    One thing you might want to try is merging without the preview step, but do it from a "fresh" file by copying and pasting your placeholders into a new document. If the problem is with the preview it seems that it "infects" the file and even merging without touching the preview button may not work.

Maybe you are looking for