|
|
|
|
@ -28,6 +28,11 @@ public class ConferenceCallPanel
|
|
|
|
|
extends JScrollPane
|
|
|
|
|
implements CallRenderer
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* Serial version UID.
|
|
|
|
|
*/
|
|
|
|
|
private static final long serialVersionUID = 0L;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The conference call.
|
|
|
|
|
*/
|
|
|
|
|
@ -250,6 +255,11 @@ private void setSingleConferenceFocusUI(boolean isSingleConferenceFocusUI)
|
|
|
|
|
private static class MyViewport
|
|
|
|
|
extends JViewport
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* Serial version UID.
|
|
|
|
|
*/
|
|
|
|
|
private static final long serialVersionUID = 0L;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Subclassers can override this to install a different
|
|
|
|
|
* layout manager (or <code>null</code>) in the constructor. Returns
|
|
|
|
|
@ -269,6 +279,11 @@ protected LayoutManager createLayoutManager()
|
|
|
|
|
*/
|
|
|
|
|
private static class MyViewportLayout extends ViewportLayout
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* Serial version UID.
|
|
|
|
|
*/
|
|
|
|
|
private static final long serialVersionUID = 0L;
|
|
|
|
|
|
|
|
|
|
// Single instance used by JViewport.
|
|
|
|
|
static MyViewportLayout SHARED_INSTANCE = new MyViewportLayout();
|
|
|
|
|
|
|
|
|
|
@ -339,10 +354,10 @@ else if (view instanceof Scrollable)
|
|
|
|
|
= Math.max(0, viewSize.height - extentSize.height);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* If we haven't been advised about how the viewports size
|
|
|
|
|
/* If we haven't been advised about how the viewports size
|
|
|
|
|
* should change wrt to the viewport, i.e. if the view isn't
|
|
|
|
|
* an instance of Scrollable, then adjust the views size as follows.
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
* If the origin of the view is showing and the viewport is
|
|
|
|
|
* bigger than the views preferred size, then make the view
|
|
|
|
|
* the same size as the viewport.
|
|
|
|
|
|