| Problems in recreating a sample [message #6576] | 
Mon, 01 December 2003 07:29   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: Rudolf.Ziegaus.gmx.de 
 
Hi, 
 
I watned to recreate a sample (the one with the greetings dialog) and 
followed closely the instructions ("Create a simple Swing application"). 
 
The instructions for "Adding a control panel" states: "... when the South 
area becomes highlighted, click to drop the JPanel". 
 
1. It seems that there is a BorderLayout involved, however that is not 
mentioned. 
2. I tried to set a layout manager but I could not find out how to do 
this. I was hoping for a editor, but could not find one. How ca I set a 
layout manager? 
3. I did not find any property editor for other settings besides the title 
for the JFrame. 
Do I have to set the properties manually? 
 
Thanks, 
 
Rudi
 |  
 |  
  | 
| Re: Problems in recreating a sample [message #6596 is a reply to message #6576] | 
Mon, 01 December 2003 08:52   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
"Rudolf Ziegaus" <Rudolf.Ziegaus@gmx.de> escreveu na mensagem 
news:bqfc7t$ibk$1@eclipse.org... 
> Hi, 
> 
> I watned to recreate a sample (the one with the greetings dialog) and 
> followed closely the instructions ("Create a simple Swing application"). 
> 
> The instructions for "Adding a control panel" states: "... when the South 
> area becomes highlighted, click to drop the JPanel". 
> 
> 1. It seems that there is a BorderLayout involved, however that is not 
> mentioned. 
 
That's the default one for JFrame. 
 
> 2. I tried to set a layout manager but I could not find out how to do 
> this. I was hoping for a editor, but could not find one. How ca I set a 
> layout manager? 
 
You have to select the contentpane (add it it it's not already under JFrame) 
 
> 3. I did not find any property editor for other settings besides the title 
> for the JFrame. 
> Do I have to set the properties manually? 
 
Look at contentpane. 
 
 
> 
> Thanks, 
> 
> Rudi 
> 
 
 
--- 
Outgoing mail is certified Virus Free. 
Checked by AVG anti-virus system (http://www.grisoft.com). 
Version: 6.0.545 / Virus Database: 339 - Release Date: 27/11/2003
 |  
 |  
  | 
| Re: Problems in recreating a sample [message #570684 is a reply to message #6576] | 
Mon, 01 December 2003 08:52   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
"Rudolf Ziegaus" <Rudolf.Ziegaus@gmx.de> escreveu na mensagem 
news:bqfc7t$ibk$1@eclipse.org... 
> Hi, 
> 
> I watned to recreate a sample (the one with the greetings dialog) and 
> followed closely the instructions ("Create a simple Swing application"). 
> 
> The instructions for "Adding a control panel" states: "... when the South 
> area becomes highlighted, click to drop the JPanel". 
> 
> 1. It seems that there is a BorderLayout involved, however that is not 
> mentioned. 
 
That's the default one for JFrame. 
 
> 2. I tried to set a layout manager but I could not find out how to do 
> this. I was hoping for a editor, but could not find one. How ca I set a 
> layout manager? 
 
You have to select the contentpane (add it it it's not already under JFrame) 
 
> 3. I did not find any property editor for other settings besides the title 
> for the JFrame. 
> Do I have to set the properties manually? 
 
Look at contentpane. 
 
 
> 
> Thanks, 
> 
> Rudi 
> 
 
 
--- 
Outgoing mail is certified Virus Free. 
Checked by AVG anti-virus system (http://www.grisoft.com). 
Version: 6.0.545 / Virus Database: 339 - Release Date: 27/11/2003
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.06029 seconds