Flowed layout and header display

Hi,
Is it possible to convert the attached pdf in the link to flowed subform without changing the layout of the elements and display the header only on odd pages?
https://acrobat.com/#d=oKTODRKAg4lRMbAxz6HW6g
Many thanks in advance.

Hi,
I would wrap adjacent objects that don't need to flow/expand inside Positioned subforms. Then just the objects that need to flow should be in Flowed subforms. This will minimise the disruption to the layout when you set the page to Flowed.
See here: http://assure.ly/eSGQMt and http://assure.ly/e2jR0C.
If you set up two Master pages. Select the Master Page Set and in the Object > Page Set palette set the printing to both sides.
Then for each of the Master Pages, go to the Object > Pagination palette and set the Odd/Even settings:
Hope that helps,
Niall

Similar Messages

  • Table layout and image display problems

    Im having a few problems at the moment, designing a layout
    using tables. I need to have 3 seperate tables, 1 for the left
    side, 1 for middle and 1 for the right. However I can only get the
    left and middle table on the same row, after that the right table
    jumps down to the next row.
    My second problem is with some images displaying in the
    preview. 3 images wont display, they are the same extension (.jpg),
    in the same folder as the rest but unlike the others wont display.
    I can swap them out for other images which display fine so I cant
    understand why they arent showing.
    Any help would be most appreciated.

    > Im having a few problems at the moment, designing a
    layout using tables. I
    > need
    > to have 3 seperate tables, 1 for the left side, 1 for
    middle and 1 for the
    > right. However I can only get the left and middle table
    on the same row,
    > after
    > that the right table jumps down to the next row.
    Use a three column, 1 row table, and put one of your tables
    into each of the
    three cells.
    > so I cant understand why they arent showing.
    Show us the page, please.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Isileth" <[email protected]> wrote in
    message
    news:ev0dpc$60t$[email protected]..
    > Im having a few problems at the moment, designing a
    layout using tables. I
    > need
    > to have 3 seperate tables, 1 for the left side, 1 for
    middle and 1 for the
    > right. However I can only get the left and middle table
    on the same row,
    > after
    > that the right table jumps down to the next row.
    >
    > My second problem is with some images displaying in the
    preview. 3 images
    > wont
    > display, they are the same extension (.jpg), in the same
    folder as the
    > rest but
    > unlike the others wont display. I can swap them out for
    other images which
    > display fine so I cant understand why they arent
    showing.
    >
    > Any help would be most appreciated.
    >

  • Web Page composer : new layout does not display Page Header Links Manager

    Hello,
    I am currently working with Web Page Composer, and this is my issue :
    when using original layout, the header are displayed with "Add to favorites", "Print", "E-mail" etc... and all chosen links via the "Select Page links" link.
    But whith my custom developped layout, I can choose wich links to display but they did not show up.
    I think my layout miss a configuration point, but I did not manage to find out which one.
    Does anyone have an idea ?
    Thanks a lot.
    Fabien.

    Hi Fabien,
    Probably, you might have missed something in the configuration part.
    Please ensure, you check all these steps, mentioned in here.
    http://help.sap.com/saphelp_nw70/helpdata/EN/45/d2970be57f4ebbe10000000a11466f/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/45/d31ee7d4876f74e10000000a1553f6/frameset.htm
    Good Luck.
    Sandeep Tudumu

  • TS2167 I changed my header in iweb and when I published the site the font had shrunk and it displayed incorrectly. It was only on my home page, not on others. I have iweb 3.0.4. Help!?!?

    I changed my header in iweb and when I published the site the font had shrunk and it displayed incorrectly. It was only on my home page, not on others. I have iweb 3.0.4. Help!?!?

    Just in-case anyone els runs into this, I figured it out... I was working from my hotel and apperantly the fire wall was not allowing anything to uplaod, but I wasn't getting an error message from iweb, it would say that everything was published succesfully even though it wasn't. Once I went home and used my connection eveything worked fine.

  • ITextSharp and Flow Layout

    I am filling out a form using iTextSharp . I have a flow layout subform with a multiline textbox on the form, expand to fit set to true. Still, when I insert text into the textbox programmatically, it does not expand. If I fill out the pdf form interactively, it works fine.
    Any help would be appreciated.
    Thanks

    I use the Acrofields.SetField method ,like this:
    AcroFields pdfFormFields = pdfStamper.AcroFields;
    foreach (PrintableFormDataField dataField in _DataFields)
    pdfFormFields.SetField(dataField.DataLabel, dataField.DataValue);

  • GridBag or Flow Layout: Help Please!!!

    Requirement: Allow the user to input the amount of a mortgage and then select from a menu of mortgage loans: 7 years at 5.35%, 15 years at 5.5%, and 30 years at 5.75%. Use an array for the different loans. Display the mortgage payment amount. Then, list the loan balance and interest paid for each payment over the term of the loan. Allow the user to loopback and enter a new amount and make a new selection or quit.
    I have written the code so far that allows for the creation of the pane, texts, user entry, combobox, and buttons.
    My problem is that I cannot get it sorted out to look like a usable interface. I don't know if I should go with a GridBag Layout or a Flow Layout.
    I am using the GridBag Layout in this example, but obviously I am missing the correct procedure on how to do it.
    Can anyone give me a hand?
    My goal for the interface is to have the following fields set up in the pane to lay out like this:
    Mortgage ------ MortgageTF
    Loan ----- LoanCB
    Payment ----- PaymentTF
    Balance
    Compute----- Reset----- Exit
    Thank you for any assistance.
    Havok
    My written code is below:
    import javax.swing.*;
    import java.awt.*;
    public class MCalc002 extends JFrame
    public MCalc002()
    super("Mortgage Calculator");
    setSize(500, 800);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    setVisible(true);
    Container pane = getContentPane();
    GridBagLayout gridBag = new GridBagLayout();
    GridBagConstraints c = new GridBagConstraints();
    pane.setLayout(gridBag);
    JLabel mortgage = new JLabel("Mortgage:");
    c.gridx = 0; c.gridy = 0;
    pane.add(mortgage);
    JLabel loan = new JLabel("Loan Menu:");
    c.gridx = 2; c.gridy = 2;
    pane.add(loan);
    JLabel payment = new JLabel("Monthly Payment:");
    c.gridx = 3; c.gridy = 3;
    pane.add(payment);
    JLabel balance = new JLabel("Loan Balance:");
    c.gridx = 4; c.gridy = 4;
    pane.add(balance);
    JTextField mortgageTF = new JTextField(10);
    c.gridx = 4; c.gridy = 4;
    pane.add(mortgageTF);
    JComboBox loanCB = new JComboBox();
    c.gridx = 5; c.gridy = 5;
    loanCB.addItem("Please Select");
    loanCB.addItem("7yrs @ 5.35%");
    loanCB.addItem("15yrs @ 5.5%");
    loanCB.addItem("30yrs @ 5.75%");
    pane.add(loanCB);
    JTextField paymentTF= new JTextField(10);
    c.gridx = 4; c.gridy = 4;
    pane.add(paymentTF);
    JButton compute = new JButton("Compute");
    c.gridx = 5; c.gridy = 5;
    pane.add(compute, c);
    JButton reset = new JButton("Reset");
    c.gridx = 6; c.gridy = 6;
    pane.add(reset, c);
    JButton exit = new JButton("Exit");
    c.gridx = 7; c.gridy = 7;
    pane.add(exit, c);
    setContentPane(pane);
    public static void main(String[] arguments)
    MCalc002 pb = new MCalc002();
    //EOF

    My problem is that I cannot get it sorted out to look
    like a usable interface. I don't know if I should go
    with a GridBag Layout or a Flow Layout.
    My goal for the interface is to have the following
    fields set up in the pane to lay out like this:
    Mortgage ------ MortgageTF
    Loan ----- LoanCB
    Payment ----- PaymentTF
    Balance
    Compute----- Reset----- Exit
    import javax.swing.*;
    import java.awt.*;
    public class MCalc002 extends JFrame {
        public MCalc002() {
            super("Mortgage Calculator");
            setSize(500, 800);
            setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            Container pane = getContentPane();
            GridBagLayout gridBag = new GridBagLayout();
            GridBagConstraints c = new GridBagConstraints();
            pane.setLayout(gridBag);
            JLabel mortgage = new JLabel("Mortgage:");
            c.gridx = 0; c.gridy = 0;
            c.insets = new Insets(20,10,20,10);
            gridBag.setConstraints(mortgage, c);
            pane.add(mortgage);
            JLabel loan = new JLabel("Loan Menu:");
            c.gridx = 0; c.gridy = 1;
            c.insets = new Insets(20,10,20,10);
            gridBag.setConstraints(loan, c);
            pane.add(loan);
            JLabel payment = new JLabel("Monthly Payment:");
            c.gridx = 0; c.gridy = 2;
            c.insets = new Insets(20,10,20,10);
            gridBag.setConstraints(payment, c);
            pane.add(payment);
            JLabel balance = new JLabel("Loan Balance:");
            c.gridx = 0; c.gridy = 3;
            c.insets = new Insets(20,10,20,10);
            gridBag.setConstraints(balance, c);
            pane.add(balance);
            JTextField mortgageTF = new JTextField(10);
            c.gridx = 3; c.gridy = 0;
            c.insets = new Insets(20,10,20,10);
            gridBag.setConstraints(mortgageTF, c);
            pane.add(mortgageTF);
            JComboBox loanCB = new JComboBox();
            c.gridx = 3; c.gridy = 1;
            c.insets = new Insets(20,10,20,10);
            loanCB.addItem("Please Select");
            loanCB.addItem("7yrs @ 5.35%");
            loanCB.addItem("15yrs @ 5.5%");
            loanCB.addItem("30yrs @ 5.75%");
            gridBag.setConstraints(loanCB, c);
            pane.add(loanCB);
            JTextField paymentTF= new JTextField(10);
            c.gridx = 3; c.gridy = 2;
            c.insets = new Insets(20,10,20,10);
            gridBag.setConstraints(paymentTF, c);
            pane.add(paymentTF);
            JButton compute = new JButton("Compute");
            c.gridx = 0; c.gridy = 4;
            c.insets = new Insets(20,10,20,10);
            gridBag.setConstraints(compute, c);
            pane.add(compute, c);
            JButton reset = new JButton("Reset");
            c.gridx = 1; c.gridy = 4;
            c.insets = new Insets(20,10,20,10);
            gridBag.setConstraints(reset, c);
            pane.add(reset, c);
            JButton exit = new JButton("Exit");
            c.gridx = 3; c.gridy = 4;
            c.insets = new Insets(20,10,20,10);
            gridBag.setConstraints(exit, c);
            pane.add(exit, c);
            setContentPane(pane);
            setVisible(true);  // Generally speaking, this should be the last operation in setting up GUI components.
        public static void main(String[] arguments) {
            MCalc002 pb = new MCalc002();
    }

  • Summary layout and detail layout

    In my Web interface page, there are two layout, top one is summry layout and the bottom one is detail layout
    The header for summary is as following:
    company code,
    personal area,
    The header for the detail is as following:
    company code,
    personal area,
    position.
    the position is a leading column in summary layout.
    The requirments is that the user can click any row in the summary layout, the detail layout should display the detail information for that position.
    I define position in the detail planning level as vairable. definel both layout's "Excel Web Component" as true, define the variable position's
    property for "Source for Selection" as summary layout.
    according to the F1 online documents for "Source for Selection" Scenario 2, it should display the detail information according to the row I selected.
    But, if I predefine a value for position variable in BPS0 through set variable, after I launch the web application it will the detail for that that position,but can not change to other position; if I leave the position variable's value as blank, it will result with error says that Restrict variable POSITION (Position) to single. Anybody can help?

    Hi,
      use the handle in the variant parameter to the alv function module..That way the summary layout will be stored separately with the detail report..
    Check this thread of how to use this..
    Re: ALV  variant
    Thanks,
    Naren

  • Spacing JButtons on Flow Layout....

    Hello,
    I am a Java student. The assignment was to create a calculator. I have just begun the layout portion (to me the hardest part).... I decided to go with Flow Layout due to its easiest nature to a beginner.
    Here is the code i have so far:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Calculator extends JFrame
         public static final int width = 300;
         public static final int height = 260;
         public static void main(String[] args)
              Calculator gui = new Calculator();
              gui.setVisible(true);
         public Calculator()
              setSize(width, height);
              addWindowListener(new WindowDestroyer());
              setTitle("Calculator");
              Container contentPane = getContentPane();
              contentPane.setLayout(new FlowLayout());
              contentPane.setBackground(Color.LIGHT_GRAY);
              JPanel aPanel = new JPanel();
              JTextField display = new JTextField(25);
              contentPane.add(aPanel);
              aPanel.add(display);
              JPanel anotherPanel = new JPanel();
              contentPane.add(anotherPanel);
              JButton backspace = new JButton("Backspace");
              contentPane.add(backspace);
              JButton clearEntry = new JButton("CE");
              contentPane.add(clearEntry);
              JButton clear = new JButton("C");
              contentPane.add(clear);
              JButton mc = new JButton("MC");
              contentPane.add(mc);
              JButton sevenButton = new JButton("7");
              contentPane.add(sevenButton);
              JButton eightButton = new JButton("8");
              contentPane.add(eightButton);
              JButton nineButton = new JButton("9");
              contentPane.add(nineButton);
              JButton divide = new JButton("/");
              contentPane.add(divide);
              JButton sqrt = new JButton("sqrt");
              contentPane.add(sqrt);
              JButton mr = new JButton("MR");
              contentPane.add(mr);
              JButton fourButton = new JButton("4");
              contentPane.add(fourButton);
              JButton fiveButton = new JButton("5");
              contentPane.add(fiveButton);
              JButton sixButton = new JButton("6");
              contentPane.add(sixButton);
              JButton multiply = new JButton("*");
              contentPane.add(multiply);
              JButton percent = new JButton("%");
              contentPane.add(percent);
              JButton ms = new JButton("MS");
              contentPane.add(ms);
              JButton oneButton = new JButton("1");
              contentPane.add(oneButton);
              JButton twoButton = new JButton("2");
              contentPane.add(twoButton);
              JButton threeButton = new JButton("3");
              contentPane.add(threeButton);
              JButton minusButton = new JButton("-");
              contentPane.add(minusButton);
              JButton reciprocal = new JButton("1/x");
              contentPane.add(reciprocal);
              JButton mplus = new JButton("M+");
              contentPane.add(mplus);
              JButton zeroButton = new JButton("0");
              contentPane.add(zeroButton);
              JButton plusMinus = new JButton("+/-");
              contentPane.add(plusMinus);
              JButton dotButton = new JButton(".");
              contentPane.add(dotButton);
              JButton additionButton = new JButton("+");
              contentPane.add(additionButton);
              JButton equalsButton = new JButton("=");
              contentPane.add(equalsButton);
    Keep in mind i will do the action listeners and everything later..... i am NOT looking for anyone to do coding for me, but here's what i would like if at all possible:
    the assignment calls for the calculator to visually appear similar/just like the windows calculator..... so in other words i need the "MC" button to start the second line, MR button to start the third, etc....
    My text book, Introduction to Java by Walter Savitch, explains Swing and JButtons, but at no time provides an example with buttons on more than one line, or how to create a new line.
    **Keep in mind this is not for an applet!!!**
    I appreciate all your help!
    -ABT-

    i almost forgot to mention what the problem was...
    with Flowlayout, it prints the buttons in order, but just as many can fit on one line.... so when you compile and run the code, the MC button appears on the first line with the 7 button starting the second line....
    I need to figure out how to insert a (web-equivalent) <br> in the code, to tell the swing module to start a new line for the next set of JButtons.
    thanks
    -ABT-

  • ScrollPane Flow Layout

    Hi Guys,
    I am at my wits end as to how I can solve this. I really can't find a solution, I hope you can help.
    I have a gui layout thus:
    JTabbedPane -> JScrollPane -> JPanel -> JPanel (instead of awt.canvas)
    I have multiple java2d 'graphs' that I wish to layout on this scrollpane left to right which then wrap. If the screen is full, vertical scrollbars are triggered. So I think flow layout is the closest to this as I really must maintain the original component size. Grid layout etc resize the graphs making it look wrong.
    The problem is that with flow layout, it scrolls infinitely horizontally. The only way I can get to to stop scrolling harizontally is by calling setPreferedSize(). When I do this however it seems to disable the scroll bars.
    I have tried all combinations of layout managers to try and give me the same effect - to no avail. I have tried setting the scrollpane display policies and again this has no effect.
    So I suppose I can see two possibilites:
    1- find some way of getting the scrollpane to wrap without setPreferredSize()
    2- find a way of getting the scroll bars working, with setPreferredSize()
    My code, looks like this:
    scrollPaneContents_ = new JPanel();
    scrollPaneContents_.setPreferredSize(new Dimension(scrollPane_.getWidth(),scrollPane_.getHeight()));
    scrollPaneContents_.setLayout(new FlowLayout(FlowLayout.CENTER));
    scrollPane_ = new JScrollPane(scrollPaneContents_);
    //scrollPane_ = new JScrollPane(scrollPaneContents_/*,
    //scrollPane_.VERTICAL_SCROLLBAR_AS_NEEDED,scrollPane_.HORIZONTAL_SCROLLBAR_NEVER*/);
    //layout.setConstraints(scrollPane_, layoutConstraints);
    // I want it to scroll to the width less and continue downwards forever
    scrollPaneContents_.setVisible(true);
    tabView_.add("Tab Name",scrollPane_);
    tabView_.refresh();
    view_.refresh();
    scrollPaneContents_.add(graphView_);
    As you can see I have commented some out to try every combination :)
    Any suggestions?
    TIA

    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import javax.swing.*;
    public class GridBagAddition
        public static void main(String[] args)
            DisplayPanel displayPanel = new DisplayPanel();
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(new JScrollPane(displayPanel));
            f.getContentPane().add(displayPanel.getButtonPanel(), "South");
            f.setSize(400,400);
            f.setLocation(200,200);
            f.setVisible(true);
    class DisplayPanel extends JPanel
        JButton addButton;
        GridBagConstraints gbc;
        int[] gridwidths = {
            GridBagConstraints.RELATIVE, GridBagConstraints.REMAINDER
        int graphCount = 0;
        public DisplayPanel()
            addButton = new JButton("add graph");
            setLayout(new GridBagLayout());
            gbc = new GridBagConstraints();
            gbc.weightx = 1.0;
            gbc.weighty = 1.0;
            gbc.insets = new Insets(10,5,10,5);
        public JPanel getButtonPanel()
            addButton.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent e)
                    gbc.gridwidth = gridwidths[graphCount++ % gridwidths.length];
                    add(new GraphPanel(), gbc);
                    revalidate();
            JPanel panel = new JPanel();
            panel.add(addButton);
            return panel;
    class GraphPanel extends JPanel
        final int PAD = 20;
        public GraphPanel()
            setPreferredSize(new Dimension(200,175));
        public void paintComponent(Graphics g)
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            int width = getWidth();
            int height = getHeight();
            int x0 = PAD;
            int x1 = width - PAD;
            int y0 = height - PAD;
            int y1 = PAD;
            g2.draw(new Line2D.Double(x0, y0, x0, y1));
            g2.draw(new Line2D.Double(x0, y0, x1, y0));
           

  • Horizontal flowed layout

    I am creating a questionnaire and I would like to form to only display answered questions when I click the generate report button.
    For example:
    If the user has a question and they have the following options:
    The user selects Not Sure.
    Currently because the subforms are all the same and the logic is to only display answered questions, the form displays:
    Is there a way that I can set up the template to move the answer to the left so that the form does not show blank/white space?
    Thanks
    Yvette

    Oh, apparently I failed to make my point clear.
    Consider this example:
    [  ] Checkbox1     [  ] Checkbox2     [   ] Checkbox3
    [  ] Checkbox4
    Whenever I click on one of those checkboxes I would like to change the height of all checkboxes in the same row (this.h = ...)
    [Why this is necessary is too complicated to explain. These are forms that are part of fairly big environment with very specific reader add-ons .....]
    Thus: If I click on checkbox2 I would like to find the checkboxes with the same vertical position (in this case: checkbox1, checkbox2 and checkbox3) to change their heights.
    As it is a flowed layout checkbox4 has slipped over onto the next row. It is vertically further down in the current layout. Therefore I do not want to change its height.
    What I need, is not really the y-attribute of the checkbox, but the vertical position in the layout. I just cannot find an attribute that delivers this information.
    Does this make it clear?

  • Some Kind of "Flow" Layout

    Is there any way to make panel groups do some kind of "flow" layout instead of based on the grid?
    An example is a panel group what has 6-8 other gridpanels and panel groups in it. the problem is when you programmatically turn on/off various gridpanels or panel groups, instead of the ones that are turned on "flowing" to the top of the enclosing panel group, they are evenly spaced vertically within the enclosing structure.
    This makes for ugly pages, and goofy layout. Is there anyway to change the layout algorithm so that it will layout left-ish and up-ish rather than this scattered vertically???
    thx,
    Kristofer

    Hi Kristofer,
    The following info might be of help to you:
    The Grid panel displays components in rows and columns. The number of columns can be specified by going to the Properties sheet and entering a value for the Columns property. For example if you mention 5 columns and you drop 12 components into the grid panel, the components will be arranged in 3 rows with the frist two rows having 5 components each and the last row having 2 components. If one of the components' rendered property is set to false then these components after that empty cell move back one cell.
    The group panel infact uses flow layout. The order in which the components appear is the order in which they were dropped onto the page. This applies for the grid panel too.
    I hope this info will be of use to you. Please do revert back in case you have any more queries.
    Cheers
    Giri :-)
    Creator Team

  • How do i put an array of panels into a frame with a flow layout?

    I just want to have my array of Jpanels displayed in a Jframe with a flow layout, how do i do this?
    thanks

    saru88 wrote:
    The problem is:
    cards.setBackground(Color.red);
    No, the real problem was before that. I saw SD before the stack trace in your original code, but the code 'ignored' that and continued on to the second exception you saw.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class MemoryFrame extends JFrame{
         private CardPanel[] cards;
         final int noCards = 24;
         public MemoryFrame(){
              setTitle("Apple");
              Toolkit tk = Toolkit.getDefaultToolkit();
              int screenWidth = tk.getScreenSize().width;
              int screenHeight = tk.getScreenSize().height;
              int halfWidth = screenWidth/2;
              int halfHeight = screenHeight/2;
              setBounds(halfWidth/2,halfHeight/2,halfWidth-45, halfHeight+50);
              Container c = getContentPane();
              c.setLayout(new FlowLayout());
              addWindowListener(new WindowAdapter () {
                   public void windowClosing(WindowEvent e) {
                        System.exit(0);
              // this creates an array for 10 CardPanels, but they all start out as 'null'
              cards = new CardPanel[noCards];
              for(int i=0; i<noCards; i++){
                   try{
                        // this creates each individual CardPanel
                        cards[i] = new CardPanel();
                        cards.setBackground(Color.red);
                        // if there is an exception, it is pointless continuing
                        c.add(cards[i]);     
                   }catch(Exception e){
                        System.out.println("SD");
                        e.printStackTrace();
         public static void main(String[] args) {
              // very hackish
              new MemoryFrame().setVisible(true);
    class CardPanel extends JPanel {

  • Need help combining a Layout and Graphics

    Okay, I've been working on this for a long time now, and I'm getting close...but not quite.
    I want to have a JApplet where I can use Graphics methods, as well as JButton, etc. However, if I set my applet to use a certain type of Layout (setLayout), it will only display the JButton and none of the graphics that I drew in paintComponent(). If I don't define a Layout at all, the JButton covers the entire applet. If I take out the JButton and the Layout, then I do see the Graphics. So, it's like the Graphics are being hidden underneath the Layout, and I don't know how to get them to show through.
    Here's what I have...as you can see from the billion commented lines, I tried a lot of different things.
    import javax.swing.*;       // Imports JButton, JTextArea, JTextField
    import java.awt.*;          // Imports Canvas
    import java.awt.event.*;    // Imports ActionEvent, ActionListener
    public class HashTableApplet extends JApplet
      public void init()
        PaintStuff paint = new PaintStuff();
        Container contentPane = getContentPane();
        JButton startButton = new JButton("Start");
        //Determine the "look" of the Applet:
        contentPane.setLayout(null);
        contentPane.add(paint);
        // Add in the button:
        Insets insets = contentPane.getInsets();
        contentPane.add(startButton);
        startButton.setBounds(25 + insets.left, 5 + insets.top, 75, 20);
    class PaintStuff extends JPanel
      public PaintStuff()
        //setBackground(Color.lightGray);
      public void paintComponent(Graphics g)
        super.paintComponent(g);
        //setOpaque(false);
        g.setColor(Color.yellow);
        // drawLine(x1, y1, x2, y2)
        g.drawLine(50, 50, 100, 100);
        g.drawLine(0, 200, 700, 200);
        g.drawRect(200, 200, 200, 200);
    }

    /*    <applet code="GraphicApplet" width="400" height="300"></applet>
    *    use: >appletviewer GraphicApplet.java
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import javax.swing.*;
    public class GraphicApplet extends JApplet {
      GraphicPanel graphicPanel = new GraphicPanel();
      int colorCount = 0;
      public void init() {
        final Color[] colors = {
          Color.orange, Color.yellow, Color.pink
        final JButton button = new JButton("Change Background");
        button.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            Color color = colors[colorCount++ % colors.length];
            graphicPanel.setBackgroundColor(color);
        JPanel northPanel = new JPanel();
        northPanel.add(button);
        Container cp = getContentPane();
        // default layout for JPanel (== JApplet) is Flow Layout
        cp.setLayout(new BorderLayout());
        cp.add(northPanel, "North");
        cp.add(graphicPanel, "Center");   
       * Convenience method allows you to run this from the command line.
      public static void main(String[] args) {
        JFrame f = new JFrame("Grpahic Applet");
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        JApplet applet = new GraphicApplet();
        f.getContentPane().add(applet);
        f.setSize(400,300);
        f.setLocationRelativeTo(null);
        applet.init();
        applet.start();
        f.setVisible(true);
    class GraphicPanel extends JPanel {
      Color bgColor;
      public GraphicPanel() {
        setBackground(Color.black);
        bgColor = Color.red;
        // add listeners here
      public void paintComponent(Graphics g) {
        super.paintComponent(g);
        Graphics2D g2 = (Graphics2D)g;
        g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                            RenderingHints.VALUE_ANTIALIAS_ON);
        int width = getSize().width;
        int height = getSize().height;
        int cx = width/2;
        int cy = height/2;
        int diameter = Math.min(width, height)*2/3;
        g2.setPaint(bgColor);
        g2.fill(new Rectangle2D.Double(width/8, height/8, width*3/4, height*3/4));
        g2.setPaint(Color.blue);
        g2.draw(new Rectangle2D.Double(cx - diameter/2, cy - diameter/2,
                                       diameter, diameter));
        g2.setPaint(Color.green);
        g2.draw(new Ellipse2D.Double(cx - diameter/2, cy - diameter/2,
                                     diameter, diameter));
      public void setBackgroundColor(Color color) {
        this.bgColor = color;
        repaint();
    }

  • DIfference between Reusable FM for ALV display and ALV display using class

    Hi,
    Is there any difference between alv display using Resuable FM and ALV display using classes except the later one uses OO concept.??
    One mere thing i want to clarify is that is there any difference exist between REUSE_ALV_GRID_DISPLAY and REUSE_ALV_LIST_DISPLAY? If so, then let me know.
    It could be easier to understand me if yuo give scenario where these FM comes into picture
    Regards,
    Parag

    Hi,
    (1) REUSE_ALV_LIST_DISPLAY
    Display an ALV list as per parameters defined in the function call
    (2) REUSE_ALV_GRID_DISPLAY
    Display an ALV grid as per parameters defined in the function call
    (3) REUSE_ALV_COMMENTARY_WRITE
    List header information is output according to its type. The output information is put in an internal table. Output attributes are assigned to each line via the TYP field.This module outputs formatted simple header information at TOP-OF-PAGE.
    (4) REUSE_ALV_HIERSEQ_LIST_DISPLAY
    This module outputs two internal tables as a formated hierarchical-sequential list.
    (5) REUSE_ALV_VARIANT_F4
    Display variant selection dialog box.
    (6) REUSE_ALV_VARIANT_EXISTENCE
    Checks whether a display variant exists.
    Other Useful Link :
    Customize ALV grid layout at run time
    Download ALV grid Control Tutorial
    Understand ALV report ( Just Copy and paste )
    Dynamic selection on ALV at run time
    Dynamic selection on ALV at run time
    Regards
    Kiran

  • Dreamweaver and CSS display problem

    Hi,
    I am new to CSS layouts and trying to build a site in pure
    CSS but I am having a problem with how it is dispayed within
    dreamweaver.
    here is
    the html page as it looks in a browser
    But
    here is how the page currently looks is dreamweaver
    As you can see, my divs which run along the bottom of the
    page in the browser are actually shown contained in another div in
    dreamweaver which is very misleading!
    Is this due to something i have done or is this how it
    displays in dreamweaver?
    HTML code as follows:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN"
    http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    <title>Untitled Document</title>
    <link href="lovellkits.css" rel="stylesheet"
    type="text/css">
    </head>
    <body>
    <div id="main">
    <div id="logo"></div>
    <div id="navbar">Nike Kits | Optimum Kits | Lovell
    Rugby Kits | Training Wear | Equipment</div>
    <div id="bannerlarge"></div>
    <div id="smlbanner1"></div>
    <div id="smlbanner2"></div>
    <div id="smlbanner3"></div>
    <div id="smlbanner4"></div>
    </div>
    </body>
    </html>
    and
    my CSS can be found here
    Thanks for reading
    Steve

    FWIW, there were significant rendering improvements made in
    DW8, so it
    may be worth the upgrade if you're creating layouts in DW.
    In the meantime, try adding some content to the bannerlarge
    container. I
    think DW may be incorrectly collapsing that tag since it's
    empty.
    HTH,
    Randy
    > Dreamwaever MX 2004 for the mac

Maybe you are looking for

  • Tracking memory usage

    I have run to a memory limitation problem with my MIDP 1 application. So I'm trying to track memory usage. However I found out that WTK memory monitor gives me different results then Runtime memory functions (by calling Runtime.getRuntime().freeMemor

  • How to get the held documents

    Hi Experts, How can we get held documents without knowing temporary number? Please suggest.

  • AD attributes and passwords not setting correctly

    I am running FIM 2010 R2 build 4.1.3479.0 with AD servers at 2008 forest level.  I have set up the ADMA for staff to set passwords and the userprincipalname attribute (among others).  I have custom code in the MVextension.dll that does this.  I am ha

  • MRP for  delivery block itemsin sales order

    Hi, For MTO scenario, where in sales order item is blocked for delivery.When MRP  run for sales order  for that item through MD50 then system not generating any requirement. Which parametrs  should I check? Regards Sanjay

  • Is that possible to change parent of GUI Controll?

    Hi, I have to change parent of GUI Control. I have a Splitter with two Controls (b.e. 1 x 2 )and would like to delete one. After that I would like to change grid ( 1 x 1 ) and show in this the second view. But after I have called splitter->set_grid(1