Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Custom Panels

Read the article:
http://www.eclipse.org/articles/Article-Writing%20Your%20Own%20Widget/Writing%20Your%20Own%20Widget.htm



                                                                                                                                                     
                      "Allan Wick"                                                                                                                   
                      <registerit@wickidcool.         To:      <platform-swt-dev@xxxxxxxxxxx>                                                        
                      com>                            cc:                                                                                            
                      Sent by:                        Subject: [platform-swt-dev] Custom Panels                                                      
                      platform-swt-dev-admin@                                                                                                        
                      eclipse.org                                                                                                                    
                                                                                                                                                     
                                                                                                                                                     
                      30/10/2002 11:36 AM                                                                                                            
                      Please respond to                                                                                                              
                      platform-swt-dev                                                                                                               
                                                                                                                                                     
                                                                                                                                                     



What is the best practice for creating a custom panel that can be used on
multiple user interfaces?

In Swing I would just subclass JPanel.  I have it working by creating a
class that holds on to a Group and it works pretty well.  The only drawback
is that you get a border around the panel.

Thanks,

-Al Wick

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev






Back to the top