Maximum width for symbols?

I am creating a staff with animated notes. I plan to have the whole thing scroll from right to left so that the current note 'lights' as it comes under a playhead effect. I have a movieclip with a staff and notes, but there seems to be a limit as to how large I can make it, or perhaps it's how I can work on something so long. I'm running into the 'edge' of the flash window no matter how large I make the staff width.
Is there a max width? How would you work on something really long within flash?

There is a maximum stage size, but it is pretty large.  The max width grows with every new version of Flash, and I am unsure what it is in the newest versions.  The last time I had a problem with this sort of thing was in Flash MX04, and a trial of Flash 8 fixed it for me.  I think the size of my object then was something like 5000 pixels, but its been a few years so I may be mistaken.
A quick google found this on a different forum "they can be 4096*4096 with a max of 8192 for any dimension."
So it sounds like the maximum object can be 8192 pixels wide, and, if it is wider, the object won't work correctly.  This is for player 10 (CS4).  Earlier versions of flash have a smaller limit.

Similar Messages

  • ORA-1445 and maximum width for field selection.

    Hello,
    We had the ORA-01445 error in the database recently.
    A friend of mine directed me to the following address:
    http://www.errorhelp.com/search/details/65019/ora-01445
    And explained me that Oracle takes every field of every table in the inner and outer joins to build a HUGE table before selecting what fields are really required for the query.
    I can't believe that Oracle makes such stupid thing so I ran here to ask the experts.
    An example:
    Two tables:
    TABLE1
    Field1
    Field2
    Field100
    TABLE2
    Field1
    Field2
    Field500
    Select table1.field1, table2.field1
    FROM table1
    INNER JOIN table2 on table1.Field2 = table2.Field2
    WHERE table1.field3 = '1'
    ->
    Question is:
    How the join is built on detail?
    Does it build an intermediate table with 100+500 = 600 fields to get only the 5 that are used in the query (table1.field1, table2.field1, table1.Field2, table2.Field2,table1.field3)?
    Thank you.
    Kindest regards,

    864737 wrote:
    Hi John,
    Maybe it's a complete nonsense but even if has no sense proceeding that way solved the issue here.
    I have a query that suddenly failed to execute with the error described, version 10.2.0.3 but it does not happens in 10.2.0.4. As a workaround we did it using subselects and joining as described in the post and the query worked again.
    So ORA-01445 is triggered even if it's not the cause of the error. You have there a circumstance where it fits...
    So, it is clearly a bug introduced (possibly in 10.2.0.3), and fixed in 10.2.0.4.
    I cannot post the query because license restrictions but believe it or not this happens with Oracle. It's great to know that the number fields of the tables does not matter. I was suprised to hear it. But your clarification was good. :D Tnx.
    It seems that our DBA found that this behaviour can be corrected with an official patch.
    Which clearly indicates a bug, just be sure that the patch is truly the right one.
    Thank you again for your response.There are a number of bugs in MOS around ansi joins getting this error, bug
    4369235.8 ORA-1445 can occur for ANSI join queries with large views/subqueries
    seems possiblefor your case. However the workaround for that was to not use ansi style joins, so again, the number of columns is not directly the cause of the error.
    John

  • DW CC Fluid grid layout how to change px width for desktop layout

    Hi there,
    I have been going through the various tutorials about fluid grid layout and setting up our bureau's website in a responsive layout.
    The width of the original design was 960 px and the hero pic and others have been exported at that size.
    The first divs in the design look fine, header with the 960 px pic in it, and also the BC menu which is set to 960 wide.
    However the body text goes out to the right, past the 960 px and this is because, right at the start, when starting the file in DW the desktop screen width is set to 1232px.
    How can you change this setting when starting a new fluid grid layout?
    I have tried changing the number of columns, or the percentage, and the width for desktop remains at 1232px.
    Why is this?
    Not all of our clients want a site 1232px wide on a pc.
    Thanks so much.

    Hi Ben and Nancy,
    Thanks for your replies, but maybe you both don't realise I am asking specifically about DW CC and setting up a responsive design using a fluid grid layout?
    I have been following the recent videos from Adobe on this.
    As far as the width of 960 goes, Nancy I am only shortchanging myself, as this is the website for our agency. The original design is 960px wide as I did read somewhere that this width is recommended now that responsive is coming, as it is easily divided into a grid layout. I also am quoting for a client at the moment who wants a responsive design for their website, and they have specifically requested that the site have a maximum width of 960 px. So I would like to find out if this is possible in DW CC at the moment when doing a fluid grid layout.
    So what I am trying to do here is follow the Adobe tutorials on responsive design, using DW CC and I am using the current design for our agency website as a trial to set this up and try and get it working as a responsive website.
    It does not seem to me that many other people are doing this, as most people are recommending that I try Github or Bootstrap.
    However, I am not a coder and I am used to using DW, so I would like to get the DW CC responsive design features working if possible.
    Ben the CSS you are looking at is being generated by DW CC as I follow the steps in the Adobe demonstration videos to set up a fluid grid layout in DW CC.
    One of the things they say in the videos is that you can't program the CSS directly when doing a fluid grid layout, or you break the CSS and it all stops working. So I am using the new panels in DW CC to set up the layout. One thing I cannot get access to is the ability to set a maximum width for the site. It seems to be set in concrete when you start the fluid design up in DW CC.
    Here is a pic of the screen I am talking about that sets the maximum width:
    I cannot click in the pixel width at the top and change it. Also if I adjust the number of gridlines or the percentage for the pc layout, the default maximum pixel width does not change.
    If you click on the preferences button and go into the Window sizes screen, there does not seem to be a way to set the maximum pc width here either, so I am a bit stumped.
    Maybe I just have say to my clients that if you want a responsive design then the max width for pc can only be 1232px? It does seem strange to me that this cannot be changed.

  • Maximum width

    Hi,
    I have mulitple dropdown menus that needs to be on the one line (horizontally).
    As the dropdown menus have pretty long "values" within them, i have to resize the dropdown menus so that they all sit on the one line (going horizontally across the page).
    However, the user has mentioned that even thou he can select the "correct option" when clicking the dropdown menu, he cannot view the rest of the line once the dropdown has been selected?
    Is there any way to make all the dropdown fit on the 1 line and for the user to view his selection?
    What other options do I have if I want the user to view his selection?
    P.S I have already using the maximum width for the survey.
    Regards,
    Edwin

    Edwin,  have you widened the form to it's maximum width of 1500 px?  I know you mention that you are using the maximum width but I want to make sure.  The form can be widened by selecting the right edge of the "page" and dragging it to the right. 
    Another step that you can do is to make the font of the fields smaller and/or use a different font.  Times New Roman is quite a bit "tighter" than the other fonts.
    Hope this helps.
    Jeff Canepa
    Software Quality Engineer
    Adobe Systems, Inc.
    [email protected]

  • Determine the best width for ListCellRenderer - Multi-column combo box

    Currently, I am having a multi column combo box. In order for the column to align properly during show popup, I use box layout to do so. However, the short coming for box layout is that, the size for each column is fixed. This makes me have a difficulty, when I have a long string to be displayed. The problem is shown through the following screen shoot.
    http://i.imgur.com/4Nfc6.png
    This is because in 2nd column,
    1) All the 3 rows must be in same size so that they are aligned.
    2) But 1st row and 2nd row cell renderer, do not know 3rd row is holding such a long string.
    The code (2 files) to demo this problem is as follow. Is there any way the size of the cell will be adjusted automatically? Yet, all the row will be aligned properly.
    ResultSetCellRenderer.java
    package javaapplication24;
    import java.awt.Color;
    import java.awt.Component;
    import javaapplication24.NewJFrame.ResultType;
    import javax.swing.JList;
    import javax.swing.ListCellRenderer;
    import javax.swing.UIManager;
    * @author yccheok
    public class ResultSetCellRenderer extends javax.swing.JPanel implements ListCellRenderer {
        /** Creates new form ResultSetCellRenderer */
        public ResultSetCellRenderer() {
            initComponents();
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        @SuppressWarnings("unchecked")
        // <editor-fold defaultstate="collapsed" desc="Generated Code">
        private void initComponents() {
            jLabel1 = new javax.swing.JLabel();
            jLabel2 = new javax.swing.JLabel();
            setLayout(new javax.swing.BoxLayout(this, javax.swing.BoxLayout.X_AXIS));
            jLabel1.setText("jLabel1");
            jLabel1.setMaximumSize(new java.awt.Dimension(88, 14));
            jLabel1.setMinimumSize(new java.awt.Dimension(88, 14));
            jLabel1.setPreferredSize(new java.awt.Dimension(88, 14));
            add(jLabel1);
            jLabel2.setText("jLabel2");
            jLabel2.setMaximumSize(new java.awt.Dimension(100, 14));
            jLabel2.setMinimumSize(new java.awt.Dimension(200, 14));
            jLabel2.setPreferredSize(new java.awt.Dimension(100, 14));
            add(jLabel2);
        }// </editor-fold>
        // Variables declaration - do not modify
        private javax.swing.JLabel jLabel1;
        private javax.swing.JLabel jLabel2;
        // End of variables declaration
        // Do not use static, so that our on-the-fly look n feel change will work.
        private final Color cfc  = UIManager.getColor("ComboBox.foreground");
        private final Color cbc  = UIManager.getColor("ComboBox.background");
        private final Color csfc = UIManager.getColor("ComboBox.selectionForeground");
        private final Color csbc = UIManager.getColor("ComboBox.selectionBackground");
        private final Color cdfc = UIManager.getColor("ComboBox.disabledForeground");
        // For Nimbus look n feel.
        private final Color nimbus_csfc;
             Color c = UIManager.getColor("ComboBox:\"ComboBox.renderer\"[Selected].textForeground");
             // Pretty interesting. Applying "c" directly on the component will not
             // work. I have the create a new instance of Color based on "c" to make
             // it works.
             nimbus_csfc = c != null ? new Color(c.getRed(), c.getGreen(), c.getBlue()) : null;
        private final Color nimbus_csbc;
            Color c = UIManager.getColor("ComboBox:\"ComboBox.renderer\"[Selected].background");
             // Pretty interesting. Applying "c" directly on the component will not
             // work. I have the create a new instance of Color based on "c" to make
             // it works.
            nimbus_csbc = c != null ? new Color(c.getRed(), c.getGreen(), c.getBlue()) : null;
        @Override
        public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) {
            final Color _csbc = csbc != null ? csbc : nimbus_csbc;
            final Color _csfc = csfc != null ? csfc : nimbus_csfc;
            this.setBackground(isSelected ? _csbc : cbc);
            this.setForeground(isSelected ? _csfc : cfc);
            jLabel1.setBackground(isSelected ? _csbc : cbc);
            jLabel1.setForeground(isSelected ? _csfc : cfc);
            jLabel2.setBackground(isSelected ? _csbc : cbc);
            jLabel2.setForeground(isSelected ? _csfc : cfc);
            final ResultType result = (ResultType)value;
            jLabel1.setText(result.symbol);
            jLabel2.setText(result.name);
            return this;
    NewJFrame.java
    package javaapplication24;
    import java.awt.Container;
    import java.awt.Dimension;
    import javax.swing.JComboBox;
    import javax.swing.JList;
    import javax.swing.JScrollBar;
    import javax.swing.JScrollPane;
    import javax.swing.SwingUtilities;
    import javax.swing.event.PopupMenuEvent;
    import javax.swing.event.PopupMenuListener;
    import javax.swing.plaf.basic.BasicComboPopup;
    * @author yccheok
    public class NewJFrame extends javax.swing.JFrame {
        public static class ResultType {
             * The symbol.
            public final String symbol;
             * The name.
            public final String name;
            public ResultType(String symbol, String name) {
                this.symbol = symbol;
                this.name = name;
            @Override
            public String toString() {
                return symbol;
        /** Creates new form NewJFrame */
        public NewJFrame() {
            initComponents();
            this.jComboBox1.addPopupMenuListener(this.getPopupMenuListener());
            this.jComboBox1.setRenderer(new ResultSetCellRenderer());
            this.jComboBox1.addItem(new ResultType("Number 1", "Normal"));
            this.jComboBox1.addItem(new ResultType("Number 2", "Normal"));
            this.jComboBox1.addItem(new ResultType("Number 3", "A VERY VERY VERY VERY long text"));
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        @SuppressWarnings("unchecked")
        // <editor-fold defaultstate="collapsed" desc="Generated Code">
        private void initComponents() {
            jComboBox1 = new javax.swing.JComboBox();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
            jComboBox1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jComboBox1ActionPerformed(evt);
            getContentPane().add(jComboBox1, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 10, 110, -1));
            pack();
        }// </editor-fold>
        private void jComboBox1ActionPerformed(java.awt.event.ActionEvent evt) {
            // TODO add your handling code here:
        * @param args the command line arguments
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                @Override
                public void run() {
                    final NewJFrame frame = new NewJFrame();
                    frame.setVisible(true);
        private PopupMenuListener getPopupMenuListener() {
            return new PopupMenuListener() {
                @Override
                public void popupMenuWillBecomeVisible(PopupMenuEvent e) {
                    // We will have a much wider drop down list.
                    adjustPopupWidth(jComboBox1);
                @Override
                public void popupMenuWillBecomeInvisible(PopupMenuEvent e) {
                @Override
                public void popupMenuCanceled(PopupMenuEvent e) {
         * Adjust popup for combo box, so that horizontal scrollbar will not display.
         * Resize JComboBox dropdown doesn't work without customized ListCellRenderer
         * http://www.camick.com/java/source/BoundsPopupMenuListener.java
         * @param comboBox The combo box
        public static void adjustPopupWidth(JComboBox comboBox) {
            if (comboBox.getItemCount() == 0) return;
            Object comp = comboBox.getAccessibleContext().getAccessibleChild(0);
            if (!(comp instanceof BasicComboPopup)) {
                return;
            BasicComboPopup popup = (BasicComboPopup)comp;
            JList list = popup.getList();
            JScrollPane scrollPane = getScrollPane(popup);
            // Just to be paranoid enough.
            if (list == null || scrollPane == null) {
                return;
            //  Determine the maximimum width to use:
            //  a) determine the popup preferred width
            //  b) ensure width is not less than the scroll pane width
            int popupWidth = list.getPreferredSize().width
                            + 5  // make sure horizontal scrollbar doesn't appear
                            + getScrollBarWidth(popup, scrollPane);
            Dimension scrollPaneSize = scrollPane.getPreferredSize();
            popupWidth = Math.max(popupWidth, scrollPaneSize.width);
            //  Adjust the width
            scrollPaneSize.width = popupWidth;
            scrollPane.setPreferredSize(scrollPaneSize);
            scrollPane.setMaximumSize(scrollPaneSize);
         *  I can't find any property on the scrollBar to determine if it will be
         *  displayed or not so use brute force to determine this.
        private static int getScrollBarWidth(BasicComboPopup popup, JScrollPane scrollPane) {
            int scrollBarWidth = 0;
            JComboBox comboBox = (JComboBox)popup.getInvoker();
            if (comboBox.getItemCount() > comboBox.getMaximumRowCount()) {
                JScrollBar vertical = scrollPane.getVerticalScrollBar();
                scrollBarWidth = vertical.getPreferredSize().width;
            return scrollBarWidth;
         *  Get the scroll pane used by the popup so its bounds can be adjusted
        private static JScrollPane getScrollPane(BasicComboPopup popup) {
            JList list = popup.getList();
            Container c = SwingUtilities.getAncestorOfClass(JScrollPane.class, list);
            return (JScrollPane)c;
        // Variables declaration - do not modify
        private javax.swing.JComboBox jComboBox1;
        // End of variables declaration
    }Edited by: yccheok on Jan 13, 2011 9:35 AM

    Are these two lines intentionally or is it just a mismatch?
    jLabel2.setMaximumSize(new java.awt.Dimension(100, 14));
    jLabel2.setMinimumSize(new java.awt.Dimension(200, 14));
    2) But 1st row and 2nd row cell renderer, do not know 3rd row is holding such a long string.There is only one cell renderer for all rows, so no need for the rows to know each other.
    To calculate the exact maximum width of column two, you have to check each entry.
    If you can do this BEFORE creating the combo, you could do this in a loop similar to this pseudo code
    FontMetrics fm= jComboBox1.getFontMetrics(jComboBox1.getFont());
    foreach (column2String) {
      int length= fm.stringWidth(column2String);
      if (length>max) max= length;
    }Now you have a max value to dimension jLabel2 in your renderer.
    If you don't fill your combo in one go, but rather at runtime, you have to check at each
    jComboBox1.addItem(...)
    whether the string for label2 is extending the current max, redefine max, and repaint the combo.
    This second approach I haven't done so far, but that's how I would try.

  • Getting maximum width and height of frame

    In my Flash CS4 application I have a problem working out the maximum x and y coordinates of the display objects that have been created in a frame using the frame editor. This is the sequence
    1. Using the frame editor on the timeline, I create a keyframe with a mixture of library symbols and text/graphics which are not symbols.
    2. In AS3 I take all of the screen objects and make them children of a Sprite that I created in my AS3 script. I then delete the objects off the screen and pass the parent Sprite to a class that I use to manage the screen.
    3. In the manage screen class the first thing I do is go through the child display objects to work out the maximum x and y coordinates so that I can centralise them on the screen later on.
    The problem is that I'm not able to work out the maximum x & y coordinates correctly. There is no problem with the symbol objects, I just add the x and width for example, for the maximum x coordinate. But for the non symbol objects this does not work. They appear to be combined in some way and the x/y & width/height do not seem to correspond to anything in the frame editor.  
    Is there a writeup anywhere on how Flash manages the graphics/text obects which are not symbols and are created by the editor in keyframes on the timeline? Finding the maximum x and y coordinates of a screen full of objects should be fairly simple, but I cannot see a way of doing it at the moment.
    Jerry

    On my JPanel I want to draw stuff, and for this I need to know the > > width and height of the JPanelIf you are drawing stuff, then you are in control off
    how big you want to draw the stuff. You can make the
    panel as big or small as you want and do your drawing
    accordingly.But doesn't the Layoutmanager of the frame set the size of the added panel according to the rest of the layout, or am I way off here?
    Do I need to setPreferredSize() or anything on thepanel before pack()?
    Try it and see what happens. If you don't give the
    panel a size then the pack() method basically ignores
    it as you have found out.Perhaps if I gave an example, you could point me in the right direction? The code below creates a JPanel of size 200x200, and draws a ball at a random spot on the panel. But since the frame is way bigger than 200x200 the panel gets stretched by the layoutmanager (right?). So what I really want to use when I calculate the x and y position is the width and height of the panel as it is displayed in the frame.
    Here goes:
    import javax.swing.*;
    import java.awt.*;
    class MyFrame extends JFrame {
      public MyFrame() {
        super("A ball");
        JPanel panel = new JPanel();
        panel.setSize(200, 200);
        int x = (int)(Math.random()*200);
        int y = (int)(Math.random()*200);
        panel.add(new Ball(x, y));    // Object Ball draws a ball at x,y
        getContentPane().add(panel, BorderLayout.CENTER);
        setSize(640, 480);
        show();
      public static void main(String[] args) {
        new MyFrame();
    }

  • I want to set a maximum size for pictures when FF shows websites. How can i do that? NO I DONT MEAN "HOW TO ZOOM".

    I have FF 34 but this problem has been there for a lot of earlier versions. On many webpages there are pictures that cover my whole screen, and I want to set maximum size for showing images on webpages.
    I ONLY wanr to change the maximum size of the images, AND IAM NOT asking about how to zoom the webpage.

    Do you want to hide large images or merely make them smaller by setting a max-width and max-height?
    You would probably have to use JavaScript (bookmarklet) to achieve this reliably.
    There are bookmarklets to make large images fit in the window to avoid a horizontal scroll bar
    You can try this code in the <b>userContent.css</b> file (adjust the max-width accordingly).
    *http://kb.mozillazine.org/userContent.css
    <pre><nowiki>img { max-width: 1024px !important; height: auto !important; }</nowiki></pre>
    The customization files userChrome.css (user interface) and userContent.css (websites) are located in the <b>chrome</b> folder in the Firefox profile folder.
    *http://kb.mozillazine.org/Editing_configuration
    *Create the chrome folder (lowercase) in the <xxxxxxxx>.default profile folder if this folder doesn't exist
    *Use a plain text editor like Notepad to create a (new) userContent.css file in the chrome folder (file name is case sensitive)
    *Paste the code in the userContent.css file in the editor window
    *Make sure that you select "All files" and not "Text files" when you save the file via "Save file as" in the text editor as userContent.css.<br>Otherwise Windows may add a hidden .txt file extension and you end up with a not working userContent.css.txt file

  • Changing line width for more than 5 chart series - Interactive Mode

    Hi,
    Re: BI Publisher 11.1.1.6.0, Interactive Reports
    I have a number of charts with a dynamic number of series based on the number of devices, cpus, network interfaces etc. on a particular system. Is it possible to change the line width for all series? I can change it for the first 5 series as per "Chart Plot Area" properties "Series[1-5] Line Width", however any subsequent series retain the default width.
    Thanks in advance,
    Jean

    Hello,
    Which version of APEX are you using?
    Go to your Flash Chart attributes - get into your series (click the icon) in the section of Series Query you'll find the maximum rows.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://apex-evangelists.com/
    -- http://apexblogs.info/

  • In Primavera Risk Analysis, the MIN. ML, MAX columns is for imput the minimum impact, most likely impact , maximum impact duration of a risk or the remaining duration for MIN, ML and adding remaining duration with maximum impact for MAX?

    In Primavera Risk Analysis, the MIN. ML, MAX columns is for imput the minimum impact, most likely impact , maximum impact duration of a risk or the remaining duration for MIN, ML and adding remaining duration with maximum impact for MAX?

    You are welcome. I'm glad you got it back up.
    (1) You say you did the symbolic link. I will assume this is set correctly; it's very important that it is.
    (2) I don't know what you mean by "Been feeding the [email protected] for several weeks now, 700 emails each day at least." After the initial training period, SpamAssassin doesn't learn from mail it has already processed correctly. At this point, you only need to teach SpamAssassin when it is wrong. [email protected] should only be getting spam that is being passed as clean. Likewise, [email protected] should only be getting legitimate mail that is being flagged as junk. You are redirecting mail to both [email protected] and [email protected] ... right? SpamAssassin needs both.
    (3) Next, as I said before, you need to implement those "Frontline spam defense for Mac OS X Server." Once you have that done and issue "postfix reload" you can look at your SMTP log in Server Admin and watch as Postfix blocks one piece of junk mail after another. It's kind of cool.
    (4) Add some SARE rules:
    Visit http://www.rulesemporium.com/rules.htm and download the following rules:
    70sareadult.cf
    70saregenlsubj0.cf
    70sareheader0.cf
    70sarehtml0.cf
    70sareobfu0.cf
    70sareoem.cf
    70sarespoof.cf
    70sarestocks.cf
    70sareunsub.cf
    72sare_redirectpost
    Visit http://www.rulesemporium.com/other-rules.htm and download the following rules:
    backhair.cf
    bogus-virus-warnings.cf
    chickenpox.cf
    weeds.cf
    Copy these rules to /etc/mail/spamassassin/
    Then stop and restart mail services.
    There are other things you can do, and you'll find differing opinions about such things. In general, I think implementing the "Frontline spam defense for Mac OS X Server" and adding the SARE rules will help a lot. Good luck!

  • Maximum width of portal

    Hello,
    I was wondering if there is a easy way to define the maximum width of a portal.
    I'm now dealing with the problem that when I load a certain portlet, this portlet
    becomes to big to have a one-screen view. I want my portal to be viewable on one
    screen-width. Is there any way to do this?
    Greets,
    Koen

    Hello Koen,
    There is not an "out-of-the-box" setting in WLPS 3.5 for the width of a portlet,
    but there are a few things you could do to solve your problem:
    One option is to customize portalcontent.jsp, which lays out the portlets in an HTML
    table. Look at portal.jsp, which contains portalcontent.jsp, which contains an HTML
    table that contains each portlet.jsp... You may be able to use a group property such
    as "widthOfMyBigPortlet" to build the table on the fly.
    The easiest thing may be to use a maximizable portlet (
    http://e-docs.bea.com/wlcs/docs35///////portal/portldev.htm#1025077 ). That way, you
    could show an index or summary of content in the portlet and show the full portlet
    when it is maximized. The maximized content can be different than the content in the
    non-maximized portlet.
    Alternatively, you could include a link in your portlet that opens a new window
    containing the contents of your portlet in a stand-alone JSP page (use the <a>
    "TARGET" attribute to open the new window. If you want WLPS session attributes
    available in your standalone portlet (or you want to use rules) then you should go
    through the FlowManager servlet to your JSP page. To do this, send a request to the
    registered name of your FlowManager (probably "application") with pathinfo that
    contains the name of the Application Init property set for your application
    (something like "exampleportal"). Include the real (or final) destination in the
    query string as a parameter like this
    "dest=/portals/repository/portlets/mybigportlet.jsp". Make sure that the real
    destination is under your working directory (defined in your application init
    property set) so you don't get a SecurityException. The FlowManager servlet will not
    forward requests to JSP pages that are not in your working directory. The URL would
    look something like this:
    application/exampleportal$dest=%2Fportals%2Frepository%2Fportlets%2Fmybigportlet.jsp.
    After you get the link working, you should try creating the URL using the methods of
    JspBase.
    Koenpp wrote:
    Hello,
    I was wondering if there is a easy way to define the maximum width of a portal.
    I'm now dealing with the problem that when I load a certain portlet, this portlet
    becomes to big to have a one-screen view. I want my portal to be viewable on one
    screen-width. Is there any way to do this?
    Greets,
    Koen--
    Ture Hoefner
    BEA Systems, Inc.
    2590 Pearl St.
    Suite 110
    Boulder, CO 80302
    www.bea.com

  • JTable column auto-maximum width

    Hi,
    Does anyone have an idea on how to make the JTable to support column auto-maximum width resize, like we always see in a microsoft's table component, you double click on the column seperater and the column resized to its maximum size according to the content in it.
    Thanks
    Yutong

    Hi again,
    I wrote two methods to solve this kind of problem... take a look at them and tell me what you think about it...
       /** Adjusts the widths of a JTable columns
        * @param  table    the table
       public static void resizeTableColumns(JTable table) {
          table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);                    
          TableColumn c = null;
          FontMetrics fm = table.getFontMetrics(table.getFont());
          for (int i=0; i<table.getColumnCount(); i++) {
             c = table.getColumn(table.getColumnName(i));
             c.setPreferredWidth(determineColumnWidth(c, table.getModel(), fm));
       /** Returns the preferred width of a JTable column. The resulting width
        * is 5 pixels wider than the biggest column
        * @param  col    the column
        * @param  model  the table model
        * @param  fm     the font metrics
        public static int determineColumnWidth(TableColumn col, TableModel model,
                                              FontMetrics fm) {
          String value = (String)col.getHeaderValue();
          int headerWidth = fm.stringWidth("." + value.trim() + ".");
          int columnNumber = col.getModelIndex();
          int max = headerWidth;
          int columnWidth = 0;
          int nrows = model.getRowCount();
          String cell = "";
          for (int i=0; i<nrows; i++) {
             value = (String)model.getValueAt(i, columnNumber);
             columnWidth = fm.stringWidth("." + value.trim() + ".");
             if (columnWidth > max) max = columnWidth;
          return max + 5;

  • Read only text Items uses the maximum width

    Folks,
    I have a form with 3 regions and each region has 6 or more text items each with a different width (40, 30 24, 2...). I am using a Read Only Condition Type on all these items to disable them. I am setting the background color as bgcolor="#DCDCDC" in the Read Only Element Table Cell Attributes.
    All my elements are disabled (Gray color) but with the maximum width of 40 bytes. I don't want a 2 byte text item 40 bytes long and grayed out. How can I set a specific width for individual items in Read only Condition? Please help
    Thanks
    Raje.

    Try this alternative by disabling the HTML Form Item at the required process point.
    I added this JavaScript to the HTML Header of the page which will allow me to disable the required item, plus set its background and color:-
    <script language="JavaScript1.1" type="text/javascript">
        function disableFormItem(p_item, p_background, p_color){
                        disItem = document.getElementById(p_item);
                        disItem.style.background = p_background;
                        disItem.disabled = true;
                        disItem.style.color = p_color;
    </script>In the Region Footer of the Region where my items are located I added this JavaScript code:-
    <script language="JavaScript" type="text/javascript">
       ** Only disable the required Form Items if the Primary Key value is present,
       ** in this case it is P12_UEI. (Won't be present for new records as populated
       ** by on-insert db trigger and sequence.)
       if (html_GetElement('P12_UEI').value > 0)
          disableFormItem('P12_URESI', 'lightyellow', 'black');
          disableFormItem('P12_UZI', 'lightgray', 'black');
          disableFormItem('P12_UBI', 'lightgray', 'black');
    </script> The resulting page is a lot better looking than using the APEX read only text item.
    Regards,
    Phil

  • Set Maximum size for a subpanel created with splitter bars in LV8

    Does anyone know how to set the Maximum size for a subpanel created with asplitter bar? If I show one cluster in the subpanel and use the scroll bar to scroll, I can see more (blank) area than I want. I just want the user to be able to scroll a cluster within a subpanel while the cluster is larger than the view area of the subpanel. I don't want to let the user scroll outside the cluster.
    Ravi Beniwal

    I apologize for the mixup in terminology. Please read Pane wherever the word Subpanel was used.
    Please see the attached VI for a description of my problem.
    I would really appreciate any help with this.
    Ravi Beniwal
    Attachments:
    Pane Scrolling Problem.vi ‏10 KB

  • Controlling of Input width for Password Item Type

    can we control the Input Width of
    password Item Type when the form creation.
    If the Item Type is Password for any field during the form creation, i want to control the Input Width for that field for good
    appearence.Pls tell me the solution.
    Thanks

    Through Functional configuration, this is not possible.  Please carry out coding corrections in USEREXIT_COBL_RECEIVE_VBAP as recommended in the following note.
    Note 1739319 - Cost center in Sales order item
    G. Lakshmipathi

  • Maximum resolution for external monitor on a B570e

    hi,
    i've just bought a Lenovo B570e in which i've plugged a Philips 221 V. That has a nominal resolution of 1920 x 1080.
    However, when I try and setup its resolution, whether it's through the native windows graphic manager or the intel graphic manager, to 1920 x 1080, nothing is displayed. I need to lower the resolution down to 1680 x 1050 in order for the lenovo to display anything on the external monitor.
    am i missing something, or is 1680 x 1050 the maximum resolution for dual display?
    thank you
    J.

    thanks for the help.

Maybe you are looking for

  • Use the presenter on local PC

    When uploading a  PP 2013 pptx file to Adobe Connect I some text in Open Sans is breaking the textbox and starting a new line. When using Presenter 10 on the local PC with the settings for presentation for Adobe Connect Pro that is not the case. How

  • X-Fi's Mode Switcher reboots the system / EAX 5.0 issues

    I have strange problems with my Sound Blaster X-Fi XtremeMusic: When I'm trying to use a different audio mode (e. g. switching from Audio Creation Mode to Game Mode), my system restarts suddenly, like the same when I push the reset button on my compu

  • Virtual Machine Memory

    Who knows the maximum virtual memory size difined in the runtime? Such as java -Xmx 5000m myClass Please reply to [email protected] Thank you.

  • Printing Reports without connect  database

    May I do a reports without connect database ?

  • Tool for synchroniz​ing multiple Palm Desktops across a network

    Hello, I'm new to this site but it seems as though if there's an answer to my question it's here so I'm diving right in. I have my handheld set up to synchronize with multiple computers.  I have a home desktop, work desktop, and laptop, each of which