Re: JScrollPane - strange repainting problem?



Vova Reznik wrote:

Don't setVisible true before finishing construction

Thanks for help!

But what if I have many panels (with many components, every panel gathers different functionality).
Should I create all of them at the start of my application (some of them can never be used and displayed)? Or maybe create them on the fly (when requested by user)?


Should I "hide/show" panels or "created/destroy"?

regards,
lmierzej
.



Relevant Pages

  • Maximum size of form in designer
    ... I need to add 8 panels on a form, each with different controls, that I ... switch on the form depending on the functionality. ... I can drag the form borders horizontally on the designer though. ...
    (microsoft.public.dotnet.framework.compactframework)
  • using C# created usercontrol in vb
    ... I have created a user control in c# ... which contains 4 panels each with text boxes. ... i am not able to get this functionality. ...
    (microsoft.public.dotnet.framework.interop)
  • RE: Problem with submiting the page
    ... Regards ... > I m dealing in a situation tht there are two panels in a page. ... Each of the text boxes ... > RequiredFieldValidators of the other panel get activated. ...
    (microsoft.public.dotnet.framework)
  • Re: FC3 Usability Problems
    ... It takes two minutes or three to adjust the panels to your liking. ... Regards ... Markus Huber ...
    (Fedora)
  • Re: Panel drawing problem
    ... Regards ... Jon ... >> I have a number of panels on a form into which I draw graphs directly. ... >> cancel the background paint message, and I have alternatively tried using ...
    (microsoft.public.dotnet.framework.windowsforms)