Hello, I feel I'm going mad with Swing. I have a main main JTabbedPane: main. First component: JEditorPane : source Second Component: JPanel : view( = new JPanel()) In view I have: JPanel toolbox to NORTH and JSplitPane: ds to CENTER. In ds I have: Left component: new JScrollPane(design) where design=new JPanel() Right component: JSplitPane(....) : called pe First problem: In ds the left component is too small. I tried to use all functions available , no result. I want the right component(pe) to have width=200, but no chance. It is too big. Why? Second problem: The scrolls are not appearing on the left at the ds(JSplitPane) Third problem: I add different components to design JPanel(the one which is placed into a JScrollPane which is related to the second problem) but nothing happens. They won't appear on design which is the same and without no scrolls.
Please help me solve this Swing mistery. Thank you all.