Scroll Pane Dreamweaver 8

Just wanted to know how can we add a scroll pane in Dream
weaver 8.
Any other way we can avoid a vertical scroll for the content,
and by freezing its size at 1024 by 768 and a scroll pane inside
the same.
San

Did you ever find a solution? I too have this problem and I
have to upload a few files at a time and then wait and often have
to restart my DSl modem to get going again. I can upload and
downlaoad all day with a browser and email but as soon as Iose DW I
am sure to loose the connection.

Similar Messages

  • Remove/Hide scroll bars in scroll panes.

    Hi all,
    I am pretty new to action script. I am building a photo gallery and I am loading the thumbnails from an XML file into a scroll pane dynamically. As the scroll pane fills up, it gets wider to accomodate the thumbnails. There is one row, and eventually, I want to have the user be able to mouse left or right and have the scroll pane scroll, versus clicking on the bar or the left/right arrows. However, in order to accomplish this, I need the scroll bars to disappear!
    Is there anyway to either remove or hide both the x and y scroll bars on a scroll pane? My scroll pane is called: thumbPane.
    Thanks in advance!
    -Rob

    Hello friend,
                       first select scrollpane.Then open parameters panel (if dont know go to window > properties > paramiters ) turn to OFF HorizontalScrollPolicy  and verticalScrollPoliy then left and right scroll Bar will not display.
    THANKS.

  • IS IT POSSIBLE TO ADD A SCROLL PANE TO A PANEL??

    Hi, Im trying to add a scroll pane to a panel but when I compile the code and try to open the form - a 'Illegal Argument Exception' is produced. Can anyone tell me whether it is possible to add a scroll pane the actual panel itself and also the code to do this.     
    Many Thanks, Karl.
    I have added some sample code I have created -
    public RequestForm(RequestList inC)throws SQLException{
              inRequestList = inC;
              displayForm();
              displayFields();
              displayButtons();
              getContentPane().add(panel);
              setVisible(true);
         public void displayForm() throws SQLException{
              setTitle("Request Form");
              setSize(600,740);
              // Center the frame
              Dimension dim = getToolkit().getScreenSize();
              setLocation(dim.width/2-getWidth()/2, dim.height/2-getHeight()/2);
              getContentPane().setLayout(new BorderLayout());
              Border etched = BorderFactory.createEtchedBorder();
              panel = new JPanel();
              panel.setLayout( null );
              //panel.setBackground(new Color(1,90,50));
              Border paneltitled = BorderFactory.createTitledBorder(etched,"");
              panel.setBorder(paneltitled);
              scrollPane1 = new JScrollPane(panel);
              scrollPane1.setBounds(0, 0, 600, 740);
              panel.add(scrollPane1);
    }

    Hi all,
    I am still having trouble here. would it be posible to add a scrollpanel to this form? Can anyone provide me with a working piece of code so I see how it actually works.
    Any help would be greatly appreciated.
    Many Thanks, Karl.
    Code as Follows:
    /* ADMIN HELP Manual*/
    import javax.swing.*;
    import javax.swing.border.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.sql.*;
    import java.util.*;
    public class AdminHelp extends JFrame implements ActionListener{
         private JButton exit;
         private JLabel heading1, help;
         private JPanel panel;
         Font f = new Font("Times New Roman", Font.BOLD, 30);
         private JScrollPane scroll;
         public AdminHelp(){
              setTitle("ADMIN Help Manual");
              setSize(400,325);
              // Center the frame
              Dimension dim = getToolkit().getScreenSize();
              setLocation(dim.width/2-getWidth()/2, dim.height/2-getHeight()/2);
              panel = new JPanel();
              panel.setLayout(null);
              exit = new JButton("Close");
              exit.setBounds(280,260,100,20);
              exit.addActionListener(this);
              panel.add(exit);
              exit.setToolTipText("Click here to close and return to the main menu");
              getContentPane().add(panel);
              show();
              public void actionPerformed(ActionEvent event){
              Object source = event.getSource();
                   if (source == exit){
                        dispose();
              public static void main(String[] args){
                   AdminHelp frame = new AdminHelp();
                   frame.addWindowListener(new WindowAdapter(){
                   public void windowClosing(WindowEvent e){
                   System.exit(0);

  • Need help with a scroll pane

    Hello all. I am trying to get a scroll pane to work in an application that I have built for school. I am trying to get an amortization table to scroll through for a mortgage calculator. It isn't recognizing my scrollpane and I am not sure why. Could someone give me a push in the right direction.
    import javax.swing.*;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.text.*;
    public class MortCalcWeek3 extends JFrame implements ActionListener
         DecimalFormat twoPlaces = new DecimalFormat("#,###.00");//number format
         int L[] = {7, 15, 30};
         double I[] = {5.35, 5.5, 5.75};
         double P, M, J, H, C, Q;
         JPanel panel = new JPanel ();//creates the panel for the GUI
         JLabel title = new JLabel("Mortgage Calculator");
         JLabel PLabel = new JLabel("Enter the mortgage amount: ");
         JTextField PField = new JTextField(10);//field for obtaining user input for mortgage amount
         JLabel choices = new JLabel ("Choose the APR and Term in Years");
         JTextField choicestxt = new JTextField (0);
         JButton calcButton = new JButton("Calculate");
         JTextField payment = new JTextField(10);
         JLabel ILabel = new JLabel("Annual Percentage Rate: choose one");
         String [] IChoice = {I[0] + "", I[1] + "", I[2] + ""};
         JComboBox IBox = new JComboBox(IChoice);
         JLabel LLabel = new JLabel("Term (in years): choose one");
         String [] LChoice = {L[0] + "", L[1] + "", L[2] + ""};
         JComboBox LBox = new JComboBox(LChoice);
         JLabel amortBox = new JLabel("Amortiaztion Table");
         JScrollPane amortScroll = new JScrollPane(amortBox);
         public MortCalcWeek3 () //creates the GUI window
                        super("Mortgage Calculator");
                        setSize(300, 400);
                        setBackground (Color.white);
                        setForeground(Color.blue);
                        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                        //Creates the container
                        Container contentPane = getContentPane();
                        FlowLayout fresh = new FlowLayout(FlowLayout.LEFT);
                        panel.setLayout(fresh);
                        //identifies trigger events
                        calcButton.addActionListener(this);
                        PField.addActionListener(this);
                        IBox.addActionListener(this);
                        LBox.addActionListener(this);
                        panel.add(PLabel);
                        panel.add(PField);
                        panel.add(choices);
                        panel.add(choicestxt);
                        panel.add(ILabel);
                        panel.add(IBox);
                        panel.add(LLabel);
                        panel.add(LBox);
                        panel.add(calcButton);
                        panel.add(payment);
                        panel.add(amortBox);
                        payment.setEditable(false);
                        panel.add(amortScroll);
                        setContentPane(panel);
                        setVisible(true);
         }// end of GUI info
              public void actionPerformed(ActionEvent e) {
                   MortCalcWeek3();     //calls the calculations
              public void MortCalcWeek3() {     //performs the calculations from user input
                   double P = Double.parseDouble(PField.getText());
                   double I = Double.parseDouble((String) IBox.getSelectedItem());
                   double L = Double.parseDouble((String) LBox.getSelectedItem());
                   double J = (I  / (12 * 100));//monthly interest rate
                   double N = (L * 12);//term in months
                   double M = (P * J) / (1 - Math.pow(1 + J, - N));//Monthly Payment
                 String showPayment = twoPlaces.format(M);
                 payment.setText(showPayment);
         //public void amort() {
                   //int N = (L * 12);
                   int month = 1;
                             while (month <= N)
                                  //performs the calculations for the amortization
                                  double H = P * J;//current monthly interest
                                  double C = M - H;//monthly payment minus monthly interest
                                  double Q = P - C;//new balance
                                  P = Q;//sets loop
                                  month++;
                                  String showAmort = twoPlaces.format(H + C + Q);
                                amortScroll(showAmort);
              public static void main(String[] args) {
              MortCalcWeek3 app = new MortCalcWeek3();
    }//end main
    }//end the programI appreciate any help you may provide.

         JLabel amortBox = new JLabel("Amortiaztion Table");
         JScrollPane amortScroll = new JScrollPane(amortBox);The argument passed to a JScrollPane constructor specifies what's inside the scroll pane. Here, it seems like you're trying to create a scroll pane that displays a JLabel.
    Also, I'm not sure what you're trying to do here:
    amortScroll(showAmort);I don't see a method named "amortScroll".
    You need to make a JTextArea, pass that into the JScrollPane's constructor, and add the JScrollPane to your frame.

  • Dynamic content in scroll pane component

    As far as I can see, the contentPath for a scroll pane
    component can only point to a movie clip in the library, not to an
    instance on stage. Does this mean that the content can only be
    something created during authoring with no possibility of modifying
    it in Actionscript?

    No, I had no reply and eventually wrote my own scroll pane
    solution which allows me to directly modify the pane's content with
    ActionScript and update the scroll bar to reflect any change in the
    content's size. I'm puzzled by the help file's example in
    ScrollPane.refreshPane() because it describes a senario where:
    "for example, you've loaded a form into a scroll pane and an
    input property (for example, a text field) has been changed by
    ActionScript. In this case, you would call refreshPane() to reload
    the same form with the new values for the input properties."
    Which implies that you can use ActionScript to change the
    content then reload it. The help file on ScrollPane.contentPath is
    not very clear about what content can be used but appears to say
    that the only content types allowed are: a SWF or JPEG loaded via
    its URL or a symbol in the current library. I don't see how you
    could use ActionScript to change any of these. I've tried
    specifying an on-stage instance as the content but that
    fails.

  • Specifying text font in a scroll pane

    Below is a fragment of code that attempts to display text in a scroll pane. Basically this works OK, except for the following:
    1. Changing the font doesn't seem to make any difference. I tried "Arial", as shown, and "Curier", the display looks identical in both cases.
    2. Multiple blank spaces are replaced by a single blank space. So that "Baa baa" is displayed as "Baa baa".
    I would like to be able to display messages with many lines of text in a scroll pane preserving the format if possible, which relies on the blank spaces. I hope you can suggest how to do this better.
    Thans for you help.
    Miguel
        JLabel label = new JLabel(text);
        Font font = new Font("Arial",Font.PLAIN,12);
        label.setFont(font);
        JScrollPane scrollPane = new JScrollPane(label);

    try using a textArea instead of a label and include tabs for your multiple spaces.
    import java.awt.Font;
    import javax.swing.JFrame;
    import javax.swing.JScrollPane;
    import javax.swing.JTextArea;
    public class FontTest extends JFrame {
         public FontTest() {
              super("Font Testing");
              String text = "This is \t a \t test";
              JTextArea text3 = new JTextArea();
              text3.setText(text);
              Font font = new Font("Courier",Font.PLAIN,12);   
              text3.setFont(font);   
              JScrollPane scrollPane = new JScrollPane(text3);
              getContentPane().add(scrollPane);
              setSize(400, 200);
              setVisible(true);
         public static void main(String[] args) {
              FontTest app = new FontTest();
    }

  • Scroll pane not working in Internet Explorer

    hi all,
    I have used 'scroll pane' component in flash8 to load
    external swf files into the website. Its working fine in firefox
    but completely fails in Internet Explorer ! Could anyone help me to
    solve this please?
    here is the link
    http://www.talkingpebbles.com/development/virgincomics/index.html
    click
    here to see the website under construction
    thanks
    TP

    I see in a lot of forums from 2004 that this is an issue !
    and Macromedia hasnt done anything about it till now is surprising
    and frustrating! and no help to solve it either! that is ridiculous
    now!
    TP

  • Scroll pane color for xp look and feel

    hi
    I am using the xp look and feel for my intranet application. Everything looks great, except for the colors of the scroll pane (added in a table) which still remains brown. I have tried setting the colors of the scroll pane, but nothing seems to work. Where is it that i am going wrong?
    Thanks

    Use this
    table.getParent().setBackground(Color.BLUE);

  • How to scroll at the bottom using scroll pane

    i am having a label in which i have added a scroll pane. dynamically i will add some text to the label. the scroll bar should move to the buttom after addition of text so that the new text added should be visible.
    please provide me a solution.

    Swap from using a JLabel to a JTextArea, then use below to set position viewed. (do this after each time you enter any text)
    yourJTextArea.setCaretPosition(yourJTextArea.getText().length());

  • ImageIO image renders slow in scroll pane

    Hello all, I need some help understanding the behavior of BufferedImage(s)
    retrieved from ImageIO.read(). The problem I am having is weird .. I load
    a PNG image via ImageIO.read(), I use it to construct an ImageIcon which
    is later used in a JLabel/JScrollPane for rendering. When I attempt
    to scroll the image in the scroll pane, it is very chunky and slow.
    If I load the same image with ImageIcon(byte[]), there is no problem. The
    image on disk is 186k, when loaded from ImageIcon(), it consumes about
    10M, when loaded with ImageIO about 5M is consumed ... when I scroll,
    the memory usage increase about 9 MB, which can be collected immediatly
    to return to 5M.
    Is ImageIO doing some fancy optimization to preserve memory, if so ... how
    can I alter the settings or turn it off completly. I tried setting
    ImageIO.setUseCache(false); that did nothing as far as I can tell.
    The code to load the image is as follows, I am just using the default right now.
          // perform base64 decoding from buffer
          ByteArrayInputStream bos = new ByteArrayInputStream(decoded);
          try
             image = ImageIO.read(bos);
          catch (IOException ioe)
          }Any help would be greatly appreciated!!!
    Cheers,
    Jody

    I'm not sure if this is exactly what you are looking for but, here's code that works well for me:
    private class MyJLabel extends JLabel {
        public void paintComponent(Graphics g) {
          super.paintComponent(g);
          Graphics2D g2d = (Graphics2D)g;
          URL imageLocation = MyJPanel.class.getResource("myImage.jpg");
          Image myImage = Toolkit.getDefaultToolkit().getImage (imageLocation);
          MediaTracker tracker = new MediaTracker (this);
          tracker.addImage(myImage, 0);
          try { tracker.waitForID(0); } catch (InterruptedException exception) { System.out.println("Image myImage.jpg wasn't loaded!"); }
          g2d.drawImage(myImage, 0, 0, getWidth(), getHeight, this);
    }Once I reload images using the above method, image repainting is very quick. Extend the JLabel (MyJLabel) to overwrite the paint method as above. Should work fast when you do so. You can move the image retrieving code out of the paint method and into the 'MyJLabel' constructor.
    How are you painting the icon and where are you retrieving the image? Can you post more code?
    Regards,
    Devyn

  • Panels in a row in a scroll pane.

    Hi,
    in my application, i have a UI frame, which contains a scroll pane that has a panel, which contains a few hundreds of panels, lined up vertically.
    Each of these panels contais an icon, a label, a text field and a few more label fields and more text fields(sometimes)
    When the UI cmes up the parent panel contains only a few(10-15) panels one below another and if we click on the icon, we need to add a few more panels below the panel that contains the label that was clicked.
    In the case, when we click on all the icons in the parent panel, then we need to add a lot of panels and we hit the out of memory exception.
    does anyone have a good solution here.
    The TreeTable UI item would have been perfect here but we can not use them because we dont want to change the look of the UI for backward compatibility reasons.
    Also, every time the icon was clicked, creating and ading the panels is very slow.
    Any help is greatly appreciated.
    regards.

    1. You could create a secondary storyline and edit B-roll into it. It will behave more like tracks. The secondary does have magnetic properties, which many people find hinders the free movement of B-roll.
    2. Again secondaries. But basically you're trying to make the application behave like a tracked application when its essence is to be trackless.
    3. Not seen this.
    4. Doesn't work in FCP. Use copy and paste attributes.
    5. Yes. The homemade titles and effects created in Motion live in a specific folder structure in your Movies folder. That can be shared and duplicated on any Mac with FCP.
    6. There is no one answer to that, events and projects are entirely separate from each other, except that specific events and projects reference each other. You can simplify things so a single event holds all the content for a single project and its versions.
    7. You can't change the import function. It's simply a file transfer as FCP edits it natively. You can select the clips in FCP and change the channel configuration.

  • How to re-position scroll pane contents?

    I have a JSplitPane where the top half of the component contains a list of topics and the bottom half contains a scroll pane with a text area inside it. The user clicks a list item and the text for it is shown below it.
    The problems is when the text area exceeds the viewable area, the bottom-most portion of the text is shown instead of the top-most portion. In other words, if the text contains 6 lines and the viewable area is 4 lines, I'm seeing lines 3-6 instead of 1-4.
    One would think this is a very easy solution, such as:
    SplitTextScrollPane.getVerticalScrollBar().setValue(0);
    However, that doesn't work (at least not in JDK 1.3.0c). How do you programatically scroll the text back to the top line?
    Thank you.

    Thanks, that worked.
    I'm still a little curious about how to manually control the position of a scrollpane's contents -- for example, when the scroll pane contains things besides a text area (such as a JList or something).

  • Problem with adding text area in scroll pane

    hi , i have been facing this funny problem , but cant able to get solution.
    the problem is i am trying to add text area in scroll pane , but when i add textarea in scroll pane using scrollpane.add(textarea) that text area remain disable always. i tried making it enable explicility but that code is not working.

    You don't use the add(...) method for JScrollPane. Use:
    a) new JScrollPane( textArea );
    b) scrollPane.getViewport().setView( textArea );

  • Moving around in a  j scroll pane.

    I have a JTextArea inside a JScrollPane and I'm trying to get the scroll pane to goto a certain line number that I want by using:
    TA.setCaretPosition(10*linenumber);the linenumber is the line number the user enters and then the 10 is just the pixel it will go down because the interval I counted between each line is about 10. But it doesn't seem to move at all, what am I doing wrong?

    I guess it doesn't work like that.
    What you are doing is moving the caret to a certain position in the document. The setCaretPosition method expects the CHARACTER position in the document to which to move, and has nothing to do with pixels...
    But this won't be moving the scroll pane at all. I think what you are looking for is the TA.scrollRectToVisible(Rectangle) method. You pass a Rectangle on the textarea that you want to be made visible, and the call is repassed to the parents until a JViewPort is found, which is then scrolled.
    To calculate this rectangle you could use TA.getRows() and TA.getSize().height, for example, to determine how much space each row is really occupying.
    Best regards,
    Marcos.

  • Some graphics in a website cannot be scrolled, panned or zoomed in/out

    http://professional.wsj.com/article/SB10001424053111903520204576480123949521268.html?mod=WSJ_Home_la...
    the graphics in the above website does not respond to scrolling, panning or zooming gestures. Is there a way to make it happen? without that, major parts of the graphics cannot be viewed.
    unfortunately this is a paid site so you may not be able to load it but i thought may be some of you may be subscribers.
    thanks.
    Solved!
    Go to Solution.

    thanks, aandras.
    in this art there is an interactive graphic which you can access either by 1) clicking on the graphic towards the middle of the article on the left side just above the picture of senator Reid, or 2) clicking on the tab near the start of the article labelled "interactive graphics".
    for me, either way will load that page but the page is not scrollable, zoomable nor pannable. that page actually has a set of 10 different graphics you can select via buttons in the left. oddly these buttons work and actually switch the graphics. but most of them are too large to be displayed on the playbook screen which therefore have to be scrolled/panned but that does not work for me. the page, other thank those buttons, acts as if it is frozen.

Maybe you are looking for

  • QHD+ Resolution Scaling Issues Windows 8

    I've read that QHD+ resolution monitors like the Dell Precision m3800 with a 3200x1800 resolution screen are having scaling issues with Windows 8, and even 8.1. Some programs scale correctly, but I have specifically heard Adobe programs including Ado

  • Camera raw cs5.5 in windows vista 32 bit

    I have to install Photoshop again. Version is CS5.5 on a windows vista 32 bit system. It did what it needed to do. Photoshop runs, Bridge runs. That is all I need. However it installed only camera raw 6.0 something. For my files I need at least camer

  • In Mountain Lion, Safari 6 address bar is blank

    No matter what website im on, the web address bar is blank. Unless I click on it, I cant see the web address. Please help.

  • Thunderbolt and Firewire

    I am pondering the idea of getting one of the new MacBook Pros with the Retina Display. However: they only have Thunderbolt and USB ports, and I have a Firewire interface. As far as I can see, there are no low-end Thunderbolt audio interfaces yet. Ca

  • KDE 4.9 screen lock reveals desktop

    Hi, I've been experiencing a curious problem since I have upgraded to KDE 4.9.  At seemingly random times, the locking the desktop shows a static image of my desktop. I am using the blank screensaver and I didn't notice this with any previous KDE rel