final JInternalFrame.JDesktopIcon desktopIcon)
{
c.add(desktopIcon);
- }
+ }
/**
* Removes the frame from its parent and adds its desktopIcon to the parent.
c = f.getParent();
if (c == null)
- {
- return;
- }
+ {
+ return;
+ }
c.remove(f);
addIcon(c, desktopIcon);
try
{
if (f != null)
- {
- super.activateFrame(f);
- }
+ {
+ super.activateFrame(f);
+ }
// If this is the first activation, add to child list.
if (fChildFrames.indexOf(f) == -1)
activateFrame(fInitialFrame);
}
return;
- }
+ }
final int count = fChildFrames.size();
if (count <= 1)
final JInternalFrame f = fChildFrames.elementAt(nextIndex);
activateFrame(f);
fCurrentFrame = f;
- }
+ }
/**
* Activate the next child JInternalFrame, as determined by the frames'
public void activateNextFrame()
{
switchFrame(true);
- }
+ }
/**
* same as above but will activate a frame if none have been selected
{
fInitialFrame = f;
switchFrame(true);
- }
+ }
/**
* Activate the previous child JInternalFrame, as determined by the frames'
public void activatePreviousFrame()
{
switchFrame(false);
- }
+ }
}
\ No newline at end of file