|
 |
 |
 |
 |
 |
 |
 |
 |
Component
visual = player.getVisualComponent();
|
|
|
if(
visual != null) {
|
|
frame.getContentPane().add( visual,
|
|
|
BorderLayout.CENTER);
|
|
|
}
|
|
|
Component control =
player.getControlPanelComponent();
|
|
if(
control != null) {
|
|
|
frame.getContentPane().add(control,
|
|
|
BorderLayout.SOUTH);
|
|
|
}
|
|
|
|