Possible Problem/Bug In GridBag Layout ????

I've done hundreds of Gridbag layouts in the past 2 years and just noticed this weird little behavior today.....
Basically what I'm trying to do is arrange panels like this.....
+--------+--------+--------+
|        |        |        |
|   A    |    B   |   C    |
|        |        |        |
+--------+----+---+--------+
|             |            |
|     D       |      E     |
|             |            |
+-------------+------------+The obvious thing to do is to
o make the gridwidths of
B, D, E = 2
A, C = 1
D and E should each share one unit of
B's 2 width.
Tried it in my code with my real UI and it didn't work, so then I tested it
out using a Gridbag tool where you can set parameters on the fly quickly and
surely enough it did not work there either.
The GridBagLayout is refusing to split B into 2 portions for the 2nd row
to use in an unalligned fashion. I either get
+--------+--------+--------+
|        |        |        |
|   A    |    B   |   C    |
|        |        |        |
+--------+----+---+--------+
|        |                 |
|     D  |           E     |
|        |                 |
+--------+-----------------+  or
+--------+--------+--------+
|        |        |        |
|   A    |    B   |   C    |
|        |        |        |
+--------+----+---+--------+
|                 |        |
|     D           |  E     |
|                 |        |
+--------+--------+--------+ depending on the order in which I add my panels to the layout.
even though my gridx, gridy and widths and heights are properly set for
obtaining the result I want.
Can someone confirm that this is a bug in the GridBagLayout or share the trick for
getting around this?

Thanks for the reply - I can set the weights however
I wish and I never see box D extending even one pixel
into the A-B boundary.This does what you say...
import java.awt.*;
import javax.swing.*;
public class TestFrame extends JFrame {
  public TestFrame() {
    JPanel panel = new JPanel(new GridBagLayout());
    GridBagConstraints gbc = new GridBagConstraints();
    gbc.gridx = 0;
    gbc.gridy = 0;
    gbc.fill = GridBagConstraints.BOTH;
    gbc.weighty = 0.5; 
    panel.add(new JButton("A"), gbc);
    gbc.gridx = 1;   
    gbc.gridwidth = 2; 
    panel.add(new JButton("B"), gbc);
    gbc.gridx = 3;   
    gbc.gridwidth = 1;
    panel.add(new JButton("C"), gbc);
    gbc.gridx = 0;
    gbc.gridy = 1;
    gbc.gridwidth = 2;
    gbc.weightx = 0.5;
    panel.add(new JButton("D"), gbc);
    gbc.gridx = 2;
    panel.add(new JButton("E"), gbc);
    getContentPane().add(panel);
    setSize(400, 300);
    setDefaultCloseOperation(EXIT_ON_CLOSE);
  public static void main(String[] args) {
    TestFrame frame = new TestFrame();
    frame.setVisible(true);
}But i'm sure it's not a satisfactory layout because button A does not want to resize horizontally at all. But of course, a mix of grid layouts does the trick:
import java.awt.*;
import javax.swing.*;
public class TestFrame extends JFrame {
  public TestFrame() {
    JPanel panel = new JPanel(new GridLayout(2, 1));
    JPanel top = new JPanel(new GridLayout(1, 3));
    top.add(new JButton("A"));
    top.add(new JButton("B"));
    top.add(new JButton("C"));
    panel.add(top);
    JPanel buttom = new JPanel(new GridLayout(1, 2));
    buttom.add(new JButton("D"));
    buttom.add(new JButton("E"));
    panel.add(buttom);
    getContentPane().add(panel);
    setSize(400, 300);
    setDefaultCloseOperation(EXIT_ON_CLOSE);
  public static void main(String[] args) {
    TestFrame frame = new TestFrame();
    frame.setVisible(true);
}

Similar Messages

  • JPanel Positiong with Gridbag Layout Problem

    Hi,
    I'm desingning an UI in which I made a JFrame and set it Layout as gridBag layout. Now I have added Three JPanel in this JFrame.
    The problem is that All the three JPanels are shown in center While I want to palce them in top left corner.
    I have done this through NetBeans 4.0 in the layout coustomize option I've set them in first in the left top most, second in below of the first and so on but when I run the application The JPanel are shown in the center in this Particular position i.e first at the top in center second below to the fist and so on.
    Kindly solve my this problem.
    Regards,
    Danish Kamran.

    To get better help sooner, post a SSCCE that clearly demonstrates your problem.
    Use code tags to post codes -- [code]CODE[/code] will display asCODEOr click the CODE button and paste your code between the {code} tags that appear.
    db

  • Gridbag layout problem on a tabbedpane

    I am not sure whether we can do this or not but, I am trying to have a gridbag layout on a TabbedPane object.
    I have a JFrame on which I am adding a TabbedPane object called "t" and on this TabbedPane I am adding a tab called "Insert" which is an object of class "Insert Data". Then, I add the TabbedPane t on the Container cp, which is inside the JFrame.
    In the InsertData Class (a JPanel), I need to have the gridbag layout. With this gridbag layout object, I am trying to place different objects like buttons, at various places, on this JPanel. But nothing moves on this panel.
    In short, please let me know how can I have a gridbag layout on a Tabbedpane.
    The Main Class is as follows:
    import java.awt.Color;
    import java.awt.Container;
    import java.awt.Dimension;
    import java.awt.FlowLayout;
    import javax.swing.JFrame;
    import javax.swing.JTabbedPane;
    import javax.swing.event.ChangeEvent;
    import javax.swing.event.ChangeListener;
    import java.awt.BorderLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    public class Main extends JFrame implements ActionListener, ChangeListener{
         Main(){
                   setPreferredSize(new Dimension(1200,600));
                   Container cp = getContentPane();
                   JTabbedPane t = new JTabbedPane();
                   // insert
                   InsertData insertOptions = new InsertData();
                   t.addTab("Insert",insertOptions);
                   cp.add(t);
                   this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                   pack();
                   setVisible(true);
              @Override
              public void actionPerformed(ActionEvent arg0) {
                   // TODO Auto-generated method stub
              @Override
              public void stateChanged(ChangeEvent arg0) {
                   // TODO Auto-generated method stub
              public static void main(String args[]){
                   new Main();
         }The InsertDataClass is:
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.FlowLayout;
    import java.awt.GridBagConstraints;
    import java.awt.GridBagLayout;
    import java.awt.Insets;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    public class InsertData extends JPanel{
         InsertData(){
              setPreferredSize(new Dimension(1200,600));
              setBackground(Color.blue);
              //setLayout(new GridBagLayout());
              GridBagLayout gb = new GridBagLayout();
              setLayout(gb);
              GridBagConstraints c = new GridBagConstraints();
              //c.insets = new Insets(2, 2, 2, 2);
              //JPanel p1= new JPanel();
              //p1.setPreferredSize(new Dimension(200,200));
              JButton b1 = new JButton("here i am!!!");
              //p1.add(b1);
              //c.fill = GridBagConstraints.HORIZONTAL;
              //c.anchor = GridBagConstraints.WEST;
              c.gridx=0;
              c.gridy=1;
              add(b1,c);
    }

    how can I have a gridbag layout on a Tabbedpane.Huh? You post an example with just one JButton and no weightx / weighty set and you expect others here to be able to see a problem with your layout?
    Also, there's needless, unused code that is just clutter -- like the unimplemented ActionListener and ChaneListener. Recommended reading: [SSCCE (Short, Self Contained, Compilable and Executable, Example Program)|http://mindprod.com/jgloss/sscce.html].
    Finally, I don't see any need whatsoever to extend JFrame and JPanel as you are not introducing any new behavior of either. Always favor composition over inheritance.
    I plugged in some code I had used for someone else's GridBagLayout problems and this will show you that there's no difference in using GridBagLayout in a tabbed pane component or anywhere else.import java.awt.Dimension;
    import java.awt.Font;
    import java.awt.GridBagConstraints;
    import java.awt.GridBagLayout;
    import java.awt.Insets;
    import javax.swing.*;
    public class GridBagInTabbedPane {
      public static void main(String[] args) {
        SwingUtilities.invokeLater(new Runnable() {
          @Override
          public void run() {
            new GridBagInTabbedPane().makeUI();
      public void makeUI() {
        Font fontButton = new Font("Arial", Font.BOLD, 10);
        Font fontLabel = new Font("Arial", Font.BOLD, 15);
        JLabel labelEnter = new JLabel("Enter sentences in the text area ");
        labelEnter.setFont(fontLabel);
        JTextArea textArea = new JTextArea();
        textArea.setPreferredSize(new Dimension(630, 280));
        JScrollPane scrollPane = new JScrollPane(textArea);
        scrollPane.setMinimumSize(new Dimension(630, 280));
        JLabel labelDuplicates = new JLabel("Duplicates will appear here");
        labelDuplicates.setMinimumSize(new Dimension(650, 30));
        labelDuplicates.setFont(fontLabel);
        JButton buttonDisplay = new JButton("Display Map");
        buttonDisplay.setFont(fontButton);
        JButton buttonClear = new JButton("Clear");
        buttonClear.setFont(fontButton);
        JPanel panel = new JPanel(new GridBagLayout());
        GridBagConstraints gbc = new GridBagConstraints();
        gbc.gridx = 0;
        gbc.gridy = 0;
        gbc.gridwidth = 2;
        gbc.fill = GridBagConstraints.NONE;
        gbc.anchor = GridBagConstraints.CENTER;
        gbc.insets = new Insets(5, 5, 5, 5);
        gbc.weightx = 0.5;
        panel.add(labelEnter, gbc);
        gbc.gridy = 1;
        gbc.fill = GridBagConstraints.BOTH;
        gbc.weighty = 0.5;
        panel.add(scrollPane, gbc);
        gbc.gridy = 2;
        gbc.fill = GridBagConstraints.NONE;
        gbc.weighty = 0.0;
        panel.add(labelDuplicates, gbc);
        gbc.gridy = 3;
        gbc.gridwidth = 1;
        gbc.anchor = GridBagConstraints.EAST;
        panel.add(buttonDisplay, gbc);
        gbc.gridx = 1;
        gbc.anchor = GridBagConstraints.WEST;
        panel.add(buttonClear, gbc);
        JTabbedPane tabbedPane = new JTabbedPane();
        tabbedPane.add(panel);
        JFrame frame = new JFrame();
        frame.add(tabbedPane);
        frame.pack();
        frame.setLocationRelativeTo(null);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setVisible(true);
    }db

  • Gridbag Layout and Tabbed Panes

    First off, I'm pretty new to Java, I started it around February as a school course, and it's been a pretty smooth ride. Recently, we started to code GUI, trying out different layouts and whatnot. I'm having a little trouble in this portion as our teacher did not really delve into it very much. My question concerns the GridBag layout within a panel of a tab (sorry if this is unclear, I'm talking about something that looks like this: http://www.codeproject.com/useritems/tabcontrol.asp). I don't know how to use GridBag constraints within a panel. What I used to do with GridBag was simply use some code that looked like (forgive me, this might not be very accurate): AddComponent button1(#, #, #, #) and define what each of those numbers meant later (first would be row, second would be column, third would be width, fourth would be height, for example). But now, with the tabs, each button, label, or any other control would be declared, then I would place a bunch of direct constraints after, like this:
    JButton button1 = new JButton("1");
    constraints.gridx = 0;
    constraints.gridy = 0;
    constraints.gridwidth = 1;
    constraints.gridheight = 1;then add them into the panel like this:
    panel1.add(button1, constraints);However, I have tried making the buttons on top of each other, and other patterns, but it would just place the buttons next to each other within the panel. How do I make it so that the constraints work? Or rather, if they do work, what kinda things might mess it up? I think the problem is that I dunno how to make the constraints specific to that one button.
    Also, how do I make each panel a certain size instead of each panel being as small as possible to contain anything within it.
    I'm sorry if this all sounds very vague, I'd be more than happy to give you any needed information. Also, I'm not asking any of you to do my homework, I just need a little clarification or an example. Just in case, here's the code I'm working on: http://hashasp.mine.nu/paster/?1376. Be aware that there are no comments or anything, it's very bare. Also, the form may be a bit messy because I'm pretty much reusing code that was given to me, just manipulating it in a different way. Thanks a lot in advanced for your time in reading this.

    * GridBag_Demo.java
    import java.awt.*;
    import javax.swing.*;
    public class GridBag_Demo extends JFrame {
        public GridBag_Demo() {
            setTitle("GridBag Demo");
            setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
            setSize(400,300);
            setLocationRelativeTo(null);
            GridBagConstraints gridBagConstraints;
            jTabbedPane1 = new JTabbedPane();
            jPanel1 = new JPanel();
            jButton1 = new JButton();
            jButton2 = new JButton();
            jButton3 = new JButton();
            jPanel1.setLayout(new GridBagLayout());
            jButton1.setText("jButton1");
            gridBagConstraints = new GridBagConstraints();
            gridBagConstraints.insets = new Insets(2,2,2,2);
            jPanel1.add(jButton1, gridBagConstraints);
            jButton2.setText("jButton2");
            gridBagConstraints.gridy = 1;
            jPanel1.add(jButton2, gridBagConstraints);
            jButton3.setText("jButton3");
            gridBagConstraints.gridy = 2;
            jPanel1.add(jButton3, gridBagConstraints);
            jTabbedPane1.addTab("tab1", jPanel1);
            getContentPane().add(jTabbedPane1, BorderLayout.CENTER);
        public static void main(String args[]) {
            new GridBag_Demo().setVisible(true);
        private JButton jButton1;
        private JButton jButton2;
        private JButton jButton3;
        private JPanel jPanel1;
        private JTabbedPane jTabbedPane1;
    }

  • Is it possible to disable the 'edit layout' link on the record detail page

    Is it possible to disable the 'edit layout' link on the record detail page? Not the homepages, I know there is a switch for that, but I thought there was one for the detail pages?
    I want to disable this as I dont want users saving their own layouts, they must stick to the related sections defined in the default layout. The problem is that if they are to have access to certain related lists when an opportunity is of a certain type but NOT other types. If they have saved the layout (using the 'Edit Layout' link), and change the record type, they will see related sections that have been set to 'Not available' in the default layout (ie step 4) for that 'type'.

    Robbo, at this time it not possible to disable the Edit Layout on the record detail page.

  • JTextArea & Gridbag layout - max size of control

    Hello everyone:
    I am currnetly using a JTextArea with the Gridbag layout. I want to limit the size of the JTextArea. Found an article when I did a "search" that says the size is actually controlled by the layout manager. Have tried setMaximunSize(), no luck. It appears the layout manager ignores this. The problem I am having is that I can set the size I want, however if the user types a lot of text in to the JTextArea, the control expands and over and "pushes" the controls below it down. How do I keep the layout manager from allowing this to happen?
    Thanks in advance, Bart

    Hello everyone:
    I am currnetly using a JTextArea with the Gridbag
    layout. I want to limit the size of the JTextArea.
    Found an article when I did a "search" that says the
    size is actually controlled by the layout manager.
    Have tried setMaximunSize(), no luck. It appears the
    layout manager ignores this. The problem I am having
    is that I can set the size I want, however if the user
    types a lot of text in to the JTextArea, the control
    expands and over and "pushes" the controls below it
    down. How do I keep the layout manager from allowing
    this to happen?
    Thanks in advance, Bart Do you wish to allow the user to enter as much text as he or she likes? If so, wrap the JTextArea in a JScrollPane and set the preferred size of the JScrollPange to the area you'd like the pane to consume. It'll listen, no doubt. :)

  • ME57 transaction with possibility to show in ALV layout

    Hi experts,
    I need change the alv grid in  the transaction ME57. To this, I copied the program RM06BZ00 (scree, includes... )
    When I try execute the program with ALV layout the message ''Scope of list ALV not defined (please correct)" shows.
    To resolve this problem I change the parameter im_service in the ME_REP_GET_TABLE_MANAGER function (Way to function: program ZSAPFM06B / include ZFM06BF04 / Include ZFM06BF04_PRUEFEN_LSTUB)
    When I change this parameter on Debug (manual change) the ALV shows correctly, but when I change in program code the message remains.
    How the way to copy the Me57 transaction with possibility to show in ALV layout?
    Follows the code change:
        CALL FUNCTION 'ME_REP_GET_TABLE_MANAGER'
          EXPORTING
            im_service = 'RM06BZ00'
            im_scope   = l_scope
          IMPORTING
            ex_manager = gf_factory.
    Thank you!
    Edited by: Andréa Molina on Aug 4, 2011 5:12 PM
    Edited by: Rob Burbank on Aug 5, 2011 9:22 AM

    I solved my own problem...
    The change in im_service was right.
    The problem is that:
    The gf_factory back empty in some places and in standrad transaction back with values. The memory clean the gf_factory result.
    So... the only way to show ALV is fill the gf_factory in anywhere the gf_factory is check.
    The places are:
    1. sapfm06b - fm06bf04 - fm06bf04_pruefen_lstub
         Call in RM06BZ00 - perform pruefen_lstub(sapfm06b) using p_lstub.
    2. sapfm06b - fm06bfsl - fm06bfsl_ban_aufbauen
        Call in RM06BZ00 - ban_aufbauen(sapfm06b).
    3. sapfm06b - fm06bf01- fm06bf01_submit
       Call in RM06BZ00 - perform   perform submit(zgb_sapfm06b) using sucomm.
    If the gf_factory is filled in this places... The ALV will show!

  • Gridbag layout continues to confound me...

    I am having problems with the gridx and gridy constraints when trying to use gridbag layout. They seem to have no effect when I use them. The button always appears in the top left of the panel. Other constraints seem to work as expected.
    For example: c2.fill = GridBagConstraints.BOTH; will fill up the entire panel with my button.
    Any advice on what I am doing wrong this time?
    Thanks
    import javax.swing.JPanel;
    import javax.swing.JTextArea;
    import javax.swing.JScrollPane;
    import javax.swing.JFrame;
    import java.util.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.awt.Color;
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.text.*;
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class Question
         public JPanel test()
              JPanel testPanel = new JPanel(new GridBagLayout());
              GridBagConstraints c2 = new GridBagConstraints();
              c2.insets = new Insets(5,5,5,5);
              c2.weightx = 1.0;
              c2.weighty = 1.0;
              c2.anchor = c2.NORTHWEST;
              JButton redButton = new JButton("Button");
              c2.gridx = 2;
              c2.gridy = 2;
              //c2.fill = GridBagConstraints.BOTH;//this works as expected
              testPanel.add(redButton,c2);
              return testPanel;
         public Container createContentPane()
              //Create the content-pane-to-be.
              JPanel contentPane = new JPanel(new BorderLayout());
              contentPane.setOpaque(true);
              return contentPane;
         private static void createAndShowGUI()
              //Create and set up the window.
              JFrame frame = new JFrame("question");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              //Create and set up the content pane.
              Question demo = new Question();
              frame.setContentPane(demo.createContentPane());
              frame.add(demo.test());
              //Display the window.
              frame.setSize(400, 400);
              frame.setVisible(true);
        public static void main(String[] args)
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable()
                public void run()
                    createAndShowGUI();
        }//end main
    }//end Question

    GridBagLayout keeps zero width/height grid for non-existant component for the grid.
    You could override this behavior by using GBL's four arrays as shown below.
    However, in order to get the desired layout effect, using other layout manager, e.g. BoxLayout and/or Box, is much easier and flexible as camickr, a GBL hater, suggests.
    Anyway, however, before using a complex API class as GBL, you shoud read the documentation closely.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Question{
      // you may adjust these values for your taste
      static final int rowHeight    = 100;
      static final int colWidth     = 100;
      static final double rowWeight = 1.0;
      static final double colWeight = 1.0;
      public JPanel test(){
        GridBagLayout gb = new GridBagLayout();
        gb = keepAllRowsAndColumns(gb, 3, 3);
        JPanel testPanel = new JPanel(gb);
        GridBagConstraints c2 = new GridBagConstraints();
        c2.insets = new Insets(5,5,5,5);
        c2.weightx = 1.0;
        c2.weighty = 1.0;
        c2.anchor = c2.NORTHWEST;
        JButton redButton = new JButton("Button");
        c2.gridx = 2;
        c2.gridy = 2;
        // c2.fill = GridBagConstraints.BOTH;//this works as expected
        testPanel.add(redButton,c2);
        return testPanel;
      GridBagLayout keepAllRowsAndColumns(GridBagLayout g, int rn, int cn){
        g.rowHeights = new int[rn];
        g.columnWidths = new int[cn];
        g.rowWeights = new double[rn];
        g.columnWeights = new double[cn];
        for (int i = 0; i < rn; ++i){
          g.rowHeights[i] = rowHeight;
          g.rowWeights[i] = rowWeight;
        for (int i = 0; i < cn; ++i){
          g.columnWidths[i] = colWidth;
          g.columnWeights[i] = colWeight;
        return g;
      private static void createAndShowGUI(){
        JFrame frame = new JFrame("question");
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        Question demo = new Question();
        frame.getContentPane().add(demo.test(), BorderLayout.CENTER);
        frame.setSize(400, 400);
        frame.setVisible(true);
      public static void main(String[] args){
        javax.swing.SwingUtilities.invokeLater(new Runnable(){
          public void run(){
            createAndShowGUI();
    }

  • JTextArea & Gridbag layout

    Hello everyone:
    I am currnetly using a JTextArea with the Gridbag layout. I want to limit the size of the JTextArea. Found an article when I did a "search" that says the size is actually controlled by the layout manager. Have tried setMaximunSize(), no luck. It appears the layout manager ignores this. The problem I am having is that I can set the size I want, however if the user types a lot of text in to the JTextArea, the control expands and over and "pushes" the controls below it down. How do I keep the layout manager from allowing this to happen?
    Thanks in advance, Bart

    Have set the rows and columns as you suggested in the original code,and get the size I want initalially. The problem is that the JTextArea will increase past the size set so it "bleeds" downward. I looked in the Java book I have, and it says that the scrollbars for a JTextArea are provided automatically, however they do not appear when the user supplies more lines of text than there are rows. Instead the height of the control is enlarged and this in turn pushes the other controls on the pane down. Is this a mi-print in the book, ie the scroll bars are not automatically provide in a JTextArea?
    Thanks,
    Bart

  • Gridbag layout in jpanel?

    Hi, all
    I just start to use gridbag layout in my application. It looks very like table in html to me. While writing html table, I can use 'border=1' to determine width and height for each cell. Is it possible to reveal border of each grid in jpanel?
    Thanks,

    You can't reveal the border of the cells being used by GridBagLayout.
    You could add a LineBorder to each component but this won't show you the cell border, it will show you the component border. There could be padding between the component and the cell boundary.
    However, you should try to avoid thinking of GridBagLayout as being like an HTML table; this usually causes confusion. There's probably a number of topics in this forum about wanting to get HTML table behaviour with a GridBagLayout.
    Here's one for a start:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=251815

  • Problem with the paper layout!!!

    I have a repeating frame in my report which it brings me back several records order by seven fields. I have a problem in the paper layout. I wondering if it's possible to change the view of my paper layout and if some of the order's by four first field would change then the next records would print in the next physical page.

    Hi Toby,
    Thank you for your help. Well, at the following you can see the 3rd line of my code and at the last line I
    try to specify the charset. I have checked that ISO-8859-7 is ok for greek fonts but unfortunately it still doesn't work...
    Maria.
    <%@ taglib uri="/WEB-INF/lib/reports_tld.jar" prefix="rw" %>
    <%@ page language="java" import="java.io.*" errorPage="/rwerror.jsp" session="false" %>
    <%@ page contentType="application/vnd.ms-excel" %>
    <rw:report id="report">
    <rw:objects id="objects">
    </rw:objects>
    <html xmlns:o="urn:schemas-microsoft-com:office:office"
    xmlns:x="urn:schemas-microsoft-com:office:excel"
    xmlns="http://www.w3.org/TR/REC-html40">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-7">
    ..........

  • Mega Player 533- F/W v2.00.02 & Driver v1.672- Possible Problem & Fix to Recover

    RE: Firmware v2.00.02 & Driver v1.672 Update dated 06/04/06 for Megaplayer 533 - Model MS5533.
    I think that there is a possible problem with the above Driver & Firmware Versions as they do not seem to work for the Mega Player 533 - Model MS5533 ???. It renders the player inoperable (ie.Unable to turn player on at all) and also makes the 256MB flash drive unrecognisable to the computer (ie. computer asks for a disk to be inserted into the flash drive, similarly like the SD Expansion slot) .
    All Steps to update the firmware were followed to the letter, including no battery, updating to the new version of the driver software v1.672, formatting the drive at the same time and pressing sustained "play" button.
    Possible Fix : I was able to make the player operable again by reinstalling the original driver software & rolling back the firmware version back to v1.00.06 again (Try original firmware v1.00.02 if you haven't saved the v1.00.06 Firmware to your hard drive, as MSI does not have any longer the v1.00.06 firmware on their website to download anymore ). It now works as it did before  :D(unfortunately still with the "ROCK" setting bug) .
    NOTE: In order for computer to recognise the drive, Press sustained "Play" button when connecting to the computer, then please go to "start" (below left corner) and enter "programs" and choose "MSI MEGA PLAYER MS-5533" then "Download Firmware".
    Computer should then recognise the player and allow for the firmware update . 
    My main concern is that many of MSI's other unsuspecting customers will download this particular software and experience the same problems as I did. They probably won't be able to figure out how to rectify this issue & therefore unfortunately be left with a player that does not work at all .
    I have logged this problem now with MSI, but have yet to hear a response from them.
    Has anyone else out there experienced this same problem or is it just me??? ???.
    I searched this forum for any similar posts for this problem but found none.
    If I am doing anything wrong to update firmware v 2.00.02, please let me know.
    I did notice however that driver v1.672 software for MS5533 was called a "Megastick" and NOT a "Mega Player". Is this possibly the cause of the problem as it is the wrong driver for the MSI 533 Mega Player - Model MS5533 ???. Any help with this would be greatly appreciated.

    Quote from: Questioon on 06-July-06, 06:54:00
    Hello,
    Actually it is a long story including 2 other 533s which are fried (literally) during upgrade process.
    Here are some of my experiences...
    After completion of one of my upgrade attempts  I inserted battery and get "usb power surge" message when plugged. That rendered the device inoperable with the battery. It was still recognizable by windows both as recovery and storage devices depending on pressing/not pressing start button before plugging.
    To be sure I checked the usb voltage of my PC  with a multimeter and it was about 4.5 volts on load. During my countless plugging unplugging attempts I accidentally noticed that if I connect USB cable sort of half way (like only dc power pins connected but data pins not) device was able to start as mp3 player. I mean original mega logo appeared and device was able to play mp3s as normal. Then I made a special usb cable to try to power it with 3 serially connected AAA cells (~4.5 volts total) via USB port. And surprise,... it was working. So for a couple of days I used it with that external battery pack. It was big and ugly though. And I gave it to a friend who likes customized! devices : ).
    And here is what I did to install latest firmware into my second 533:
    1) I deleted all file instances and registry traces of old 533 driver and downloader versions both automatically (by uninstaller) and manually (coz related sys file was still there, in system32\drivers folder and maybe also in driver backup after automatic uninstallation). Also maybe it is necessary to perform a complete search because despite I deleted the related sys, windows was able to install recovery device  probably from its driver backup folder. I also deleted related oemxx.inf from \inf folder (be careful, don’t delete the wrong oemxx.inf ones belong to other devices). Because windows rename/recopy original *.inf into oemxx.inf.
    2a) I put firmware files from zip into driver installation package's bin folder.
    2b) Again I put firmware files from the zip into c:\program files\msi\... after installation (though this step is probably unnecessary)
    3) I removed battery, pushed the button, plugged in, windows recognized it as recovery device, after about 5 seconds   (not too long coz a device timeout occurs sometimes, and if this happens unplug and replug while still pressing the button)  started software, now device was disappeared from hardware list momentarily and re-recognized as storage volume.
    4) Here I get an error message like "operating system error..." It was impossible to use software with the device recognized as "recovery device". I unplugged and re-plugged now without pressing the button, device was recognized as usb storage volume and I started the software and upgraded the firmware. Device was inoperable...
    5) Repeated the process, now with pressing the button. I upgraded the firmware. And everything was OK. Rock EQ fault was gone. A playlist function is added, hough I dunno how to use this  as yet : ) When I go into playlist option I’m unable to exit, and only way I found to exit is turnoff. Except this detail it works properly.
    My computer is a standard Dell latitude c600 (an old model with one USB-1 port only), with windows xp spII. Device chip is stmp3502 according to latest driver but it was a stmp3500 according to driver on the cd came with the device.
    Hope this helps,
    Best regards.
    PS: Despite the whole adventure I really like this device, its plain design, SD card feature, removeable battery, and especially its stmp35xx chip, also used in ipod shuffles which is regarded as best sounding ipod model, by some people.
    PS 2: Maybe this is known to everyone, but I just noticed that it is possible to play non-compressed wav files with maga player 533 (16 bit 44.1 khz stereo PCM files). All you have to do is copying them into "voice" folder of the device. Then you have CD quality audio. I dont know whether it is possible with older firmwares too, or just a feature of latest one.  I also tried higher quality formats like 24 bit 48 khz but device couldnt see these ones
    anyone tried this procedure? did it work?didn't work for me.. 

  • Reporting some proxy problems/bugs

    Is there a way to report problems/bugs in the proxy software without having support? I believe this can be done for Java, but what about the proxy?
    In our environment we are using the proxy software (currently v4.0.5, but I haven't seen these items in the release notes of the newer versions of the software) in the reverse proxy mode and have encountered what I believe may be a couple of bugs.
    Possibly related to a previous poster's "Content-length mismatch" error message, it seems that some app servers respond to an If-modified-since conditional GET request incorrectly by sending a Content-length header along with the "304 not modified response" (there should be no such header in a 304 response). When proxy caching is enabled and the GZip compression filter is used, one result I have seen is the "Content-length match" error message which happens when the incorrectly included Content-length header has a non-zero value. A different result occurs when the incorrectly included Content-length header has a value of zero - the proxy response body gets truncated (completely removed).
    A second issue I have seen is with the reverse proxy's handling of a POST with a trailing CR/LF which some browsers (IE) send incorrectly (there should be no such trailing CR/LF in a POST request). The proxy seems to handle the trailing CR/LF for the request/response, however if HTTP1.1 keepalive is used and the POST is followed by a GET request on the same open connection from the browser then the access log entry for the GET request will be broken across two lines.
    Hopefully someone from Oracle monitoring these forums will pass these on to the proxy dev team.

    Yep, I realize Safari on Windows uses Windows Internet Options to get proxy server info BUT the Windows Internet Options don't provide a place to specify the proxy login information.
    As a result, when the browser contacts the proxy it usually (or should) prompt the user for the login info. Safari did the first time and I told it to save the info. Then my login info changed and rather than prompt for it again, Safari sits there and doesn't load any pages.
    IE7 uses the same proxy without problems because IE uses the domain login credentials to connect to the proxy server.
    Google Chrome uses the Windows Internet Options for proxy support and it prompts me to login to the proxy each time I fire it up and access a website.
    Mozilla Firefox 3.0.4 will prompt me for login information if the login info it has stored won't work for the proxy connection.
    Opera 9.62 prompts me for the proxy login information each time I fire it up, just like Google Chrome.
    Out of all of those browsers, Safari is the only one that can't use the proxy because I can't change the login information for the proxy connection.
    Peace...

  • Problems with integrating YUI Layout Manager with APEX

    Hello,
    I have a problem about the YUI Layout Manager and APEX.
    This is the link to the Layout Manager, which I want to integrate:
    http://developer.yahoo.com/yui/layout/
    I tried to integrate it and in Firefox everything is fine!
    But with Internet Explorer the page is damaged.
    Look at the sample on apex.oracle.com:
    http://apex.oracle.com/pls/otn/f?p=53179:1
    Can anybody help me with this issue?
    I think this couldn`t be a big problem, becaus in FF it works correctly, but I don`t get the point to run that in IE7.
    Thank you,
    Tim

    Hello,
    now I put some color in it, but it does not help me pointing out the problem.
    The Login for my Account is:
    My Workspace is: EHRIC02
    Username: [email protected]
    Password: ehric02
    Is there anybody who have implementet the YUI Layout Manager with APEX? Perhaps that isn`t possible with APEX?
    I know that John Scott played with YUI a few times, has he tried out the Layout Manager?
    Thank you,
    Tim

  • My iSight is not working on my Macbook Pro. What are the possible problems and solutions?

    My iSight is not working on my Macbook Pro. What are the possible problems and solutions?

    Hello Douglas,
    Thank you for the details of the issue you are experiencing with the built-in iSight camera on your MacBook Pro.  I recommend the following steps for this issue:
    Important: Follow these instructions in order. Test the camera between steps to see if the issue is resolved.
    Built-in iSight cameras
    These steps are for iSight cameras that are built into a computer, such as the iMac G5 (iSight) or later, the MacBook, or MacBook Pro.
    See if the issue is application-specific.
    Try another application (iSight works with applications like iChat, PhotoBooth, and iMovie HD 6) to see if the iSight camera exhibits the same behavior in all applications. If it only happens in one application, try reinstalling that application.
    See if the issue is user-specific.
    Test your iSight camera in another user account. If the issue only occurs in one user, the issue would be isolated to user settings.
    Find out if the computer recognizes the iSight
    Check System Profiler (in the Utilities folder, inside the Applications folder). Under the USB header, check to see if the iSight camera is detected.
    Reset SMC or PMU
    Reset your computer's SMC or PMU, and then check System Profiler again. (SMC reset instructions for iMac G5 (iSight), Intel-based iMacs; PMU reset instructions for MacBook and MacBook Pro.)
    If your built-in iSight camera is still not behaving correctly after trying all these steps, you may need to contact Apple or an Apple-Authorized Service Provider for service.
    You can find the full article here:
    How to Troubleshoot iSight
    http://support.apple.com/kb/ht2090
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

Maybe you are looking for