The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

This topic is READ ONLY
import-bot (20211) [Avatar] Offline
#1
[Originally posted by wuxubin]

In book, chapeter 8, listing 8-2, when you run application, and then click
open dialog box, the dialog box appear. I found when first tabbedpane appear,
the page 1 appears with part of page 3 area field, after you click the page1,
page2, page3, then clikc page1 again, the redudant field (also error field )
disappear, Is it a bug?
Thanks
import-bot (20211) [Avatar] Offline
#2
Re: listing 8-2
[Originally posted by matt]

He is using an AWT TextArea in the tabbed pane...
This is the problem.. if you replace this with a
JTextArea, it will only show up in the page it
belongs to. Be careful when mixing AWT and Swing
components...