Maximum size of a BytesMessage

Does anyone know what is the maximum size of a BytesMessage acceptable for
          the WebLogic7?
          I'm sending BytesMessages from a remote JVM, and when the capacity of the
          message exceeds 10MB an exception is thrown:
          Exception in thread "main" weblogic.jms.common.JMSException: ; nested
          exception is:
          java.io.EOFException
          at
          weblogic.jms.dispatcher.DispatcherWrapperState.dispatchSyncTran(DispatcherWrapperState.java:336)
          at weblogic.jms.client.JMSProducer._send(JMSProducer.java:332)
          at weblogic.jms.client.JMSProducer.send(JMSProducer.java:172)
          ----------- Linked Exception -----------
          weblogic.rjvm.PeerGoneException: ; nested exception is:
          java.io.EOFException
          at
          weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:109)
          at
          weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:127)
          at
          weblogic.jms.dispatcher.DispatcherImpl_WLStub.dispatchSyncTranFuture(Unknown
          Source)
          at
          weblogic.jms.dispatcher.DispatcherWrapperState.dispatchSyncTran(DispatcherWrapperState.java:319)
          at weblogic.jms.client.JMSProducer._send(JMSProducer.java:332)
          at weblogic.jms.client.JMSProducer.send(JMSProducer.java:172)
          ----------- Linked Exception -----------
          weblogic.rjvm.PeerGoneException: ; nested exception is:
          java.io.EOFException
          at
          weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:109)
          at
          weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:127)
          at
          weblogic.jms.dispatcher.DispatcherImpl_WLStub.dispatchSyncTranFuture(Unknown
          Source)
          at
          weblogic.jms.dispatcher.DispatcherWrapperState.dispatchSyncTran(DispatcherWrapperState.java:319)
          at weblogic.jms.client.JMSProducer._send(JMSProducer.java:332)
          at weblogic.jms.client.JMSProducer.send(JMSProducer.java:172)
          Marcin Augustyniak
          

Thanks.
          On Mon, 16 Feb 2004 10:09:59 -0500, Tom Barnes
          <[email protected].bea.com>
          wrote:
          > Hi,
          >
          > There is no maximum messages for WL JMS messages. But
          > I think I know what the problem is - the maximum size
          > of a WebLogic network packet defaults to 10MB. This is
          > configurable on a per server basis in its network configuration
          > (eg this is not a JMS setting but is instead a WL server setting).
          >
          > With WL JMS take special note that multiple messages
          > may be pushed to an asynchronous receiver at a time - further
          > increasing the size of a packet. This is tunable
          > on connection factories via the MessagesMaximum property
          > (default is 10).
          >
          > Since this is a misleading exception, please consider
          > filing a case with customer support to make sure it gets
          > cleaned up.
          >
          > Tom
          >
          > P.S. If you haven't already, and performance is
          > an issue, I strongly advise
          > considering compressing your data before putting it
          > into a message.
          >
          > yazzva wrote:
          >
          >> Does anyone know what is the maximum size of a BytesMessage acceptable
          >> for the WebLogic7?
          >> I'm sending BytesMessages from a remote JVM, and when the capacity of
          >> the message exceeds 10MB an exception is thrown:
          >>
          >> Exception in thread "main" weblogic.jms.common.JMSException: ; nested
          >> exception is:
          >> java.io.EOFException
          >> at
          >> weblogic.jms.dispatcher.DispatcherWrapperState.dispatchSyncTran(DispatcherWrapperState.java:336)
          >> at weblogic.jms.client.JMSProducer._send(JMSProducer.java:332)
          >> at weblogic.jms.client.JMSProducer.send(JMSProducer.java:172)
          >> ----------- Linked Exception -----------
          >> weblogic.rjvm.PeerGoneException: ; nested exception is:
          >> java.io.EOFException
          >> at
          >> weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:109)
          >> at
          >> weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:127)
          >> at
          >> weblogic.jms.dispatcher.DispatcherImpl_WLStub.dispatchSyncTranFuture(Unknown
          >> Source)
          >> at
          >> weblogic.jms.dispatcher.DispatcherWrapperState.dispatchSyncTran(DispatcherWrapperState.java:319)
          >> at weblogic.jms.client.JMSProducer._send(JMSProducer.java:332)
          >> at weblogic.jms.client.JMSProducer.send(JMSProducer.java:172)
          >> ----------- Linked Exception -----------
          >> weblogic.rjvm.PeerGoneException: ; nested exception is:
          >> java.io.EOFException
          >> at
          >> weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:109)
          >> at
          >> weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:127)
          >> at
          >> weblogic.jms.dispatcher.DispatcherImpl_WLStub.dispatchSyncTranFuture(Unknown
          >> Source)
          >> at
          >> weblogic.jms.dispatcher.DispatcherWrapperState.dispatchSyncTran(DispatcherWrapperState.java:319)
          >> at weblogic.jms.client.JMSProducer._send(JMSProducer.java:332)
          >> at weblogic.jms.client.JMSProducer.send(JMSProducer.java:172)
          >>
          >>
          >
          Marcin
          

Similar Messages

  • 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

  • Set maximum size in Text Form Field Options for a field in bi publisher RTF

    Hi All,
    How to set maximum size in Text Form Field Options for a field in bi publisher RTF.
    I have a RTF whch is having a field in that i need to add some validation condition but after adding certain condition in Add help text tab ,it is not accepting after certain length, how i can increase the length to unlimited,please help me on this
    Thnaks

    Form fields have some restrictions if your are using version lower than 11g.
    They can accommodate only 393 chars. You can add the text in both status bar and help key, which can in total consume 393 chars.
    If your code logic is more than that, it can be split into multiple form fields as Avinash suggested or you can use sub template logic and handle coding over there. Again in sub template code can be within/outside form fields.
    So there is no option for user to increase the size of form field.

  • SharePoint Foundation 2010 maximum size WID

    Hi,
    I've installed SharePoint Foundation 2010 using the Windows Internal Database. I'm a bit confused about the maximum size of the database. On several websites I read that the max size for an SQL express database is 4GB.
    Is this the same as the Windows Internal Database? Or can it grow bigger?

    Are you sure you mean the Windows Internal Database? The SharePoint foundation installer will install SQL Server Express edition.

  • Windows Server 2008 R2 Security Event Log Maximum Size

    I have a customer with logging requirements on domain controllers that are exceeding the maximum log size they have configured for the security log.  When they attempted to increase the maximum size of the security event log via Group Policy, the settings
    did not take effect.  When an attempt was made to increase the security event log manually on the domain controller via the properties of the log, an error is generated whenever the value was changed.
    The Maximum Log Size specified is not valid.  It is too large or too small. The Maximum Log Size will be set to the following: 196608 KB
    The 196608 KB value is the value that it is currently set at.  Testing on other logs, application, system, has lead to the same result.  
    wevtutil.exe sl security /ms:<n> produces similar results.  There is no error message given but the value doesn't change when you run wevtutil.exe gl security
    When viewing the registry value MaxSize under HKLM\Current Control Set\Services\EventLog\Security the change is reflected, but the log does not seem to get any larger.  
    What one would expect to be a two minute change in a group policy object has turned into something much more difficult.  Any idea what could be causing this?
    Joseph M. Durnal MCM: Exchange 2010 MCITP: Enterprise Messaging Administrator, Exchange 2010 MCITP: Enterprise Messaging Administrator, MCITP: Enterprise Administrator

    I verified that it was not another policy - the domain is pretty simple without many policies, only policies applied are:
    Default Domain Policy (no event log settings)
    Company Domain Policy (no event log settings)
    Default Domain Controller Policy (no event logs settings)
    Company Domain Controller Policy (...\Event Log\Maximum security log size 4194240 kilobytes)
    The value was 196608 before, the plan was to change the group policy setting to 4194240 and I expected it to be that easy.  However, the values didn't change.
    4194240 is divisible by 64
    Used multiple tools to try and change
    Group Policy
    Event Viewer
    wevtutil.exe
    registry editor
    While some of the methods display a larger event log, the actual size of the event log still seems to be limited to 196608 kb.  
    Thanks,
    Joe
    Joseph M. Durnal MCM: Exchange 2010 MCITP: Enterprise Messaging Administrator, Exchange 2010 MCITP: Enterprise Messaging Administrator, MCITP: Enterprise Administrator

  • How can i increase the maximum size of a text column in Access

    hello,
    i am inserting data in the MS-Access database through my servlet and am getting the exception whenever the length of the text data is more than 255 characters as in Access the maximum size for character data column is 255 can anyone tell me if there is any way by which i can increase the maximum limit of the column size in Access ,i.e. to make it more than 255.

    A text field in Access has a maximum size of 255 characters. If you want to store text information in Access larger than 255, you need to use the memo rather than text data type. There are special considerations for using an Access memo data type and accessing it through JDBC. Specifically, I believe it must be accessed as a binary object (BLOB), rather than text when using the JDBC-ODBC bridge. There are lots of discussions within these forums regarding how to manage, and the issues with using the Access memo data type.
    Good luck!

  • 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

  • Maximum Size of Hard Drive in Mac Pro (Early 2008)

    What is the Maximum size of Hard Drive that I can install in drive bay 3 or 4?
    Computer info below:
    Model Name: Mac Pro (Early 2008)
    Model Identifier: MacPro3,1
    Processor Name: Quad-Core Intel Xeon
    Processor Speed: 2.8 GHz
    Number Of Processors: 2
    Total Number Of Cores: 8
    L2 Cache (per processor): 12 MB
    Memory: 14 GB
    Bus Speed: 1.6 GHz
    Boot ROM Version: MP31.006C.B05
    SMC Version (system): 1.25f4
    Hardware UUID: FF121465-84A1-52F2-A94A-58A60A20F4AF

    WE don't know, all there are today are 2TB and those are fine. I think you could RAID 6 for 10TB and maybe then?
    Serious, there are none. Do you really expect to hit some ceiling?
    http://forums.xlr8yourmac.com/drivedb/search.drivedb.lasso

  • Forms: How to set a maximum size in Text Fields with automatic size

    ¡Hi!
    When I set a text field on my forms and I use automatic size for te text that the user can write, if the user don't need more space than the field size, when the text appears, Adobe Acrobat Pro always set the text-size to 14 or higher. How can I set a maximum size for that text? For example... 12 or 10...
    Thank you very much,
    Best regards from Spain,
    David.

    Ok. If I use a single line text field, changing the height of the field seems to be a simple way to solve the problem, but... what should I do when the fields are multi-lineal?
    Thanx for your quick answer.

  • How to restrict the maximum size of a java.awt.ScrollPane

    Dear all,
    I would like to implement a scroll pane which is resizable, but not to a size exceeding the maximum size of the java.awt.Canvas that it contains.
    I've sort of managed to do this by writing a subclass of java.awt.ScrollPane which implements java.awt.event.ComponentListener and has a componentResized method that checks whether the ScrollPane's viewport width (height) exceeds the content's preferred size, and if so, resizes the pane appropriately (see code below).
    It seems to me, however, that there ought to be a simpler way to achieve this.
    One slightly weird thing is that when the downsizing of the pane happens, the content can once be moved to the left by sliding the horizontal scrollbar, but not by clicking on the arrows. This causes one column of gray pixels to disappear and the rightmost column of the content to appear; subsequent actions on the scrollbar does not have any further effect. Likewise, the vertical scrollbar can also be moved up once.
    Also, I would like a java.awt.Frame containing such a restrictedly resizable scrollpane, such that the Frame cannot be resized by the user such that its inside is larger than the maximum size of the scrollpane. The difficulty I encountered with that is that setSize on a Frame appears to set the size of the window including the decorations provided by the window manager (fvwm2, if that matters), and I haven't been able to find anything similar to getViewportSize, which would let me find out the size of the area inside the Frame which is available for the scrollpane which the frame contains.
    Thanks in advance for hints and advice.
    Here's the code of the componentResized method:
      public void componentResized(java.awt.event.ComponentEvent e)
        java.awt.Dimension contentSize = this.content.getPreferredSize();
        this.content.setSize(contentSize);
        java.awt.Dimension viewportSize = getViewportSize();
        System.err.println("MaxSizeScrollPane: contentSize = " + contentSize);
        System.err.println("MaxSizeScrollPane: viewportSize = " + viewportSize);
        int dx = Math.max(0, (int) (viewportSize.getWidth() - contentSize.getWidth()));
        int dy = Math.max(0, (int) (viewportSize.getHeight() - contentSize.getHeight()));
        System.err.println("MaxSizeScrollPane: dx = " + dx + ", dy = " + dy);
        if ((dx > 0) || (dy > 0))
          java.awt.Dimension currentSize = getSize();
          System.err.println("MaxSizeScrollPane: currentSize = " + currentSize);
          setSize(new java.awt.Dimension(((int) currentSize.getWidth()) - dx, ((int) currentSize.getHeight()) - dy));
        System.err.println();
      }Best regards, Jan

    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    public class ScrollPaneTest
        GraphicCanvas canvas;
        CustomScrollPane scrollPane;
        private Panel getScrollPanel()
            canvas = new GraphicCanvas();
            scrollPane = new CustomScrollPane();
            scrollPane.add(canvas);
            // GridBagLayout allows scrollPane to remain at
            // its preferred size during resizing activity
            Panel panel = new Panel(new GridBagLayout());
            GridBagConstraints gbc = new GridBagConstraints();
            panel.add(scrollPane, gbc);
            return panel;
        private WindowListener closer = new WindowAdapter()
            public void windowClosing(WindowEvent e)
                System.exit(0);
        private Panel getUIPanel()
            int w = canvas.width;
            int h = canvas.height;
            int visible = 100;
            int minimum = 200;
            int maximum = 500;
            final Scrollbar
                width  = new Scrollbar(Scrollbar.HORIZONTAL, w,
                                       visible, minimum, maximum),
                height = new Scrollbar(Scrollbar.HORIZONTAL, h,
                                       visible, minimum, maximum);
            AdjustmentListener l = new AdjustmentListener()
                public void adjustmentValueChanged(AdjustmentEvent e)
                    Scrollbar scrollbar = (Scrollbar)e.getSource();
                    int value = scrollbar.getValue();
                    if(scrollbar == width)
                        canvas.setWidth(value);
                    if(scrollbar == height)
                        canvas.setHeight(value);
                    canvas.invalidate();
                    scrollPane.validate();
            width.addAdjustmentListener(l);
            height.addAdjustmentListener(l);
            Panel panel = new Panel(new GridBagLayout());
            GridBagConstraints gbc = new GridBagConstraints();
            gbc.insets = new Insets(2,2,2,2);
            gbc.weightx = 1.0;
            addComponents(new Label("width"),  width,  panel, gbc);
            addComponents(new Label("height"), height, panel, gbc);
            gbc.anchor = GridBagConstraints.CENTER;
            return panel;
        private void addComponents(Component c1, Component c2, Container c,
                                   GridBagConstraints gbc)
            gbc.anchor = GridBagConstraints.EAST;
            c.add(c1, gbc);
            gbc.anchor = GridBagConstraints.WEST;
            c.add(c2, gbc);
        public static void main(String[] args)
            ScrollPaneTest test = new ScrollPaneTest();
            Frame f = new Frame();
            f.addWindowListener(test.closer);
            f.add(test.getScrollPanel());
            f.add(test.getUIPanel(), "South");
            f.pack();
            f.setLocation(200,200);
            f.setVisible(true);
            f.addComponentListener(new FrameSizer(f));
    class GraphicCanvas extends Canvas
        int width, height;
        public GraphicCanvas()
            width = 300;
            height = 300;
        public void paint(Graphics g)
            super.paint(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            int dia = Math.min(width, height)*7/8;
            g2.setPaint(Color.blue);
            g2.draw(new Rectangle2D.Double(width/16, height/16, width*7/8, height*7/8));
            g2.setPaint(Color.green.darker());
            g2.draw(new Ellipse2D.Double(width/2 - dia/2, height/2 - dia/2, dia-1, dia-1));
            g2.setPaint(Color.red);
            g2.draw(new Line2D.Double(width/16, height*15/16-1, width*15/16-1, height/16));
        public Dimension getPreferredSize()
            return new Dimension(width, height);
        public Dimension getMaximumSize()
            return getPreferredSize();
        public void setWidth(int w)
            width = w;
            repaint();
        public void setHeight(int h)
            height = h;
            repaint();
    class CustomScrollPane extends ScrollPane
        Dimension minimumSize;
        public Dimension getPreferredSize()
            Component child = getComponent(0);
            if(child != null)
                Dimension d = child.getPreferredSize();
                if(minimumSize == null)
                    minimumSize = (Dimension)d.clone();
                Insets insets = getInsets();
                d.width  += insets.left + insets.right;
                d.height += insets.top + insets.bottom;
                return d;
            return null;
        public Dimension getMinimumSize()
            return minimumSize;
        public Dimension getMaximumSize()
            Component child = getComponent(0);
            if(child != null)
                return child.getMaximumSize();
            return null;
    class FrameSizer extends ComponentAdapter
        Frame f;
        public FrameSizer(Frame f)
            this.f = f;
        public void componentResized(ComponentEvent e)
            Dimension needed = getSizeForViewport();
            Dimension size = f.getSize();
            if(size.width > needed.width || size.height > needed.height)
                f.setSize(needed);
                f.pack();
         * returns the minimum required frame size that will allow
         * the scrollPane to be displayed at its preferred size
        private Dimension getSizeForViewport()
            ScrollPane scrollPane = getScrollPane(f);
            Insets insets = f.getInsets();
            int w = scrollPane.getWidth() + insets.left + insets.right;
            int h = getHeightOfChildren() + insets.top + insets.bottom;
            return new Dimension(w, h);
        private ScrollPane getScrollPane(Container cont)
            Component[] c = cont.getComponents();
            for(int j = 0; j < c.length; j++)
                if(c[j] instanceof ScrollPane)
                    return (ScrollPane)c[j];
                if(((Container)c[j]).getComponentCount() > 0)
                    return getScrollPane((Container)c[j]);
            return null;
        private int getHeightOfChildren()
            Component[] c = f.getComponents();
            int extraHeight = 0;
            for(int j = 0; j < c.length; j++)
                int height;
                if(((Container)c[j]).getComponent(0) instanceof ScrollPane)
                    height = ((Container)c[j]).getComponent(0).getHeight();
                else
                    height = c[j].getHeight();
                extraHeight += height;
            return extraHeight;
    }

  • VHD Size is Maximum Size Allowed Without Using All Space in OS

    Hello - I have a Hyper-V VM whose maximum size allowed is 700GB. Currently, the VHD file size is 700GB yet the OS is only using ~400GB (300GB free). Shouldn't the VHD size be about 400GB instead of 700? Every other VM I have checked matches the size being
    used in the OS.
    As I was typing this I think I answered my own question. This VM has a fixed size and all of the other VMs we have are dynamic. I assume this is why? It is a SQL server so I guess it is fixed for better performance. I didn't set this up
    Can I safely shrink the VHD down a little bit? When trying to get replicas of this VM, it keeps crashing the VM due to space limitations. It is on its own Cluster Disk but it only has a few GB free which is why I believe it is failing. How much free
    disk space is needed where the VHD is located in order for replication to work?
    This is our SQL server so I am a little cautious in what we do with it.
    Thanks for your help,
    Mike

    Hi Mike ,
    Based on my knowledge for vhd , when you delete a file then this file was not deleted on disk  thoroughly , just give it a deleted tag (the "old space" was not recycled until there is no new space for writing).
    I think you can not make it smaller via shrinking .
    Maybe you can try to compress the vhd file ( "edit disk..."  ), before you doing this please backup your VM first .
     BTW , it is recommended to use fixed disk for SQL server .
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • HT1338 Hi, Is there a way to increase the maximum size of a download? I'm trying to download Adobe premiere pro (1GB) and I'm getting an error message that says my maximum download is 10 MG

    Hi, Is there a way to increase the maximum size of a download? I'm trying to download Adobe premiere pro (1GB) and I'm getting an error message that says my maximum download is 10 MG

    That's between you and your internet service provider.  By the way, you posted to the 10.3 forum.  10.3 can't run on your MacBook Pro. Don't forget the following facts:
    b= bit
    B = Byte
    8 bits in a byte
    A typical DSL connection has 1 Mbps speed or 128 kBps speed.
    At that speed
    1 minute gives you 7.5 MB
    10 minutes gives you 75 MB
    100 minutes gives you 750 MB
    A typical cable connection can be 5 times faster although some are 30 times faster.
    A typical fiber connection is 15 times faster and some are 50 times faster.
    Ask what your speed is rated at.

  • IMac (24-inch, Early 2009) Hard Drive Replacement: Hybrid and Maximum Size Question

    I have a 24-inch iMac, early 2009 model and the internal hard drive has died so am looking to replace it and also upgrade it in the process.
    At the moment the broken internal drive was the standard 1TB model that comes with the computer. I have been doing a little bit of research and I'm liking the sound of a hybrid drive as they seem to be a relatively economical was of achieving close to SSD speeds. I've been looking particularly at 'Seagate ST4000DX001 DESKTOP SSHD 4TB SATA 6GB/s NCQ NAND 8GB 64MB HYBRID' for the replacement. I guess my question is if this drive will work in the iMac. Does a hybrid drive present and problems? Also, is there a limit to the maximum size the replacement drive can be? Will 4TB exceed this limit? Lastly, I understand this drive uses SATA III to connect with the computer, which is backwards compatible (I think?) so I'm presuming this will work in my iMac?
    Thanks in advance.

    The hybrid drive will kinda sorta be as fast as an SSD. The newest Seagate Hybrid is quite intelligent about caching the most often used files in flash and is quite an improvement over the first iteration. I used both the first and second generation drives in my 2007 iMac and was quite impressed with their performance…until I installed an SSD. The problem with the hybrids is that they just don’t have enough flash and no matter how intelligent the drive is it is guesswork so sometimes you’ll find the drive access just as pokey as any other 5400 RPM drive and then other times very fast.
    For about $200 it is a decent upgrade but with SSD prices having dropped nearly 50% in the last 18 months it is worth considering a smallish internal SSD for the OS and applications and an external drive for data.

  • How Do You Set the Maximum Size of a JFrame?

    Can someone show me a quick example? The JFrame can be empty, I just want to know how to set it's maximum size. I tried using setMaximumSize() and it doesn't work for some reason but setMinimumSize() works fine.
    I tried it using a BoxLayout and even using null as a layout manager and can't get it to work. I heard that the other layout managers don't allow you to set the maximum size of a JFrame so that is why I tried it with the layouts that I did.
    I tried the following code (imported the necessary classes), but it does not work...
    public class MyFrame extends JFrame
        public MyFrame()
            super("TestFrame");
            setLayout( new BoxLayout(getContentPane(), BoxLayout.X_AXIS)  );       
            setMaximumSize( new Dimension(400,200));
            setSize(300,150);
            setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            setVisible( true );                
    }// end class

    Reposted from
    {color:#0000ff}http://forum.java.sun.com/thread.jspa?threadID=5236259{color}
    @OP:
    When you repost a topic, please always provide a link to the previous post so people can check what suggestions were already offered (and didn't solve the problem).
    Better still, give a short summary of the advice you have already tried.
    I suggested setBackground(...) so you can see whether your MyFrame is actually occupying the entire real estate of the window. Looks as if trying it out (which I would have done for you if I'd been at home, where my JDK is) would have been too much effort for you.
    I'm pretty much a novice in Swing, but I can tell you this: setLayout controls the layout of components added to the JFrame, not the layout of the frame with respect to its parent container.
    Luck, Darryl

  • How Do You Set a JFrame's Maximum Size?

    Can someone show me a quick example? The JFrame can be empty, I just want to know how to set it's maximum size. I tried using setMaximumSize() and it doesn't work for some reason but setMinimumSize() works fine.
    I tried it using a BoxLayout and even using null as a layout manager and can't get it to work. I heard that the other layout managers don't allow you to set the maximum size of a JFrame so that is why I tried it with the layouts that I did.

    Darryl.Burke wrote:
    Are you displaying your MyFrame as a top-level window or adding it to a parent JFrame with null or BoxLayout set?
    Maybe the method you're looking for is setMaximizedBounds(Rectangle bounds)
    You could also try this: setBackground(...) to something other than the default background and run your program again.
    I'm at work and can't try ou any of my suggestions, so please post back if you get any progress.
    dbsetMaximizedBounds is a little better but not really what I was looking for. I can still make the window go passed the set boundaries when the window hasn't been maximized.
    Also, I checked that method setBackground, that only seems to change the color, is that the same method you were referring to?

Maybe you are looking for

  • HT4901 How can I change my iCloud email address?

    I had someone set up my iCloud email address and now I need to change it. Can someone tell me how? Thank you

  • Syncing with Outlook, faulty and unsuccessful

    I have read through some of the posts, and apologize if I missed one with the same problem I am having.  I was disappointed getting my Z10 initially when I wasn't able to sync with my outlook Calendar and Contacts.  However, that was quickly changed

  • How to display applet in the web browser?

    Hi Just want to ask help. Im making an application and i want to display applet in JSP. The problem is when i run my application there's no display in the browser. I already try to put the JSP and the Java Class with the same folder but still not wor

  • Default customer type not set by default

    hello, we are having and issue with the "customer type" not being set by default. When a new customer is created (when they make a purchase) I would like them to be set as "Retail Customer" as their customer type . I have set the default customer typ

  • Trx FEBC

    Hi... Trying to use Trx FEBC to post bank statement, getting the following error: Error: (00 341) Runtime error CALL_FUNCTION_NOT_FOUND has occurred Any ideas what this is and why it is evident? Thanks in advance.........