Afer data searching, click actor panel and both actor panel and data panel will be disappeared
In the new interface, after doing a search(getting some results), then click
actor panel tab. You will find both actor panel and data panle disappeared.
#1 Updated by Jing Tao over 15 years ago
I found the error parttern:
If search result only has the dataset which can be dragged to canvals
successfully(e.g. Bear is really big), you can successfully switch the actor and
dataset tab. If the search result has some dataset which couldn't be dragged to
canval successfully, you can't switch the actor and data tab.
#2 Updated by Jing Tao over 15 years ago
Finally, I figured out this is java swing issue rather than the entity issue in
search result set.
In this tabbled panel, library scroll panel and dataset scroll panel are added
as index 0 and 1. The library panel is set minimum and preferred size, but the
data set panel doesn't. So if the data set panel got result package with very
long title (Those gce package which couldn't be dragged successfully), data set
panel will be very wide (with scroll bar). When click library panel, library
panel couldn't fit it. So everything disppeared. Sounds like this is a bug in
java swing bug.
After I set the minimum and preferred size in DatasetPanel class, the switch
between library panel and dataset panel works very well.