Buggy code:
public class ProjectBrowser extends I18NJFrame implements PropertyChangeListener , IStatusBar { protected static Category cat = Category . getInstance ( ProjectBrowser . class ) ; public static final int DEFAULT_COMPONENTWIDTH = 220 ; public static final int DEFAULT_COMPONENTHEIGHT = 200 ; public static ProjectBrowser TheInstance ; private static String _Title = "ArgoUML" ; private static boolean _Splash = false ; protected String _appName = "ProjectBrowser" ; protected MultiEditorPane _editorPane ; protected DetailsPane _northEastPane ; protected DetailsPane _northPane ; protected DetailsPane _northWestPane ; protected DetailsPane _eastPane ; protected DetailsPane _southEastPane ; protected DetailsPane _southPane ; private Map detailsPanesByCompassPoint = new HashMap ( ) ; private GenericArgoMenuBar _menuBar ; protected StatusBar _statusBar = new StatusBar ( ) ; public Font defaultFont = new Font ( "Dialog" , Font . PLAIN , 10 ) ; protected BorderSplitPane _workarea ; private SplashScreen _splash ; private NavigatorPane _navPane ; private ToDoPane _todoPane ; private Object _target ; private boolean isDoingSelection ; private ProjectBrowser ( ) { } private ProjectBrowser ( String appName , boolean doSplash ) { } public Locale getLocale ( ) { } private void appendPluggableMenus ( JMenuItem menuitem , String key ) { } protected Component createPanels ( boolean doSplash ) { } public void setTitle ( String title ) { } public String getAppName ( ) { } public void setAppName ( String n ) { } private void startSelectionTransaction ( ) { } private boolean isInSelectionTransaction ( ) { } private void selectionTransactionEnded ( ) { } public void setTarget ( Object o ) { } public Object getTarget ( ) { } public void setActiveDiagram ( ArgoDiagram ad ) { } public ArgoDiagram getActiveDiagram ( ) { } public void setToDoItem ( Object o ) { } public Object getDetailsTarget ( ) { } public TabProps getTabProps ( ) { } public StatusBar getStatusBar ( ) { } public JMenuBar getJMenuBar ( ) { } public MultiEditorPane getEditorPane ( ) { } public void selectTabNamed ( String tabName ) { } public JPanel getNamedTab ( String tabName ) { } public void jumpToDiagramShowing ( VectorSet dms ) { } public void setVisible ( boolean b ) { } public void showStatus ( String s ) { } public void navigateTo ( Object element ) { } public void open ( Object element ) { } public boolean navigateBack ( boolean attempt ) { } public boolean navigateForward ( boolean attempt ) { } public boolean isNavigateBackEnabled ( ) { } public boolean isNavigateForwardEnabled ( ) { } public void saveScreenConfiguration ( ) { } public void moduleUnloaded ( ArgoModuleEvent event ) { } public void moduleEnabled ( ArgoModuleEvent event ) { } public void moduleDisabled ( ArgoModuleEvent event ) { } private DetailsPane makeDetailsPane ( String compassPoint , Orientation orientation ) { } class WindowCloser extends WindowAdapter { public WindowCloser ( ) { } public void windowClosing ( WindowEvent e ) { } } public void propertyChange ( PropertyChangeEvent evt ) { if ( evt . getPropertyName ( ) . equals ( CURRENT_PROJECT_PROPERTY_NAME ) ) { Project p = ( ( Project ) ( evt . getNewValue ( ) ) ) ; if ( p != null ) { setTitle ( p . getName ( ) ) ; Actions . updateAllEnabled ( ) ; TheDesigner . setCritiquingRoot ( p ) ; <START_BUG> setTarget ( p . getInitialTarget ( ) ) ; <END_BUG> } } else if ( evt . getPropertyName ( ) . equals ( SAVE_STATE_PROPERTY_NAME ) ) { String oldTitle = super . getTitle ( ) ; if ( ( ( ( ( Boolean ) ( evt . getNewValue ( ) ) ) . booleanValue ( ) ) == true ) && ( ! ( oldTitle . endsWith ( "*" ) ) ) ) { super . setTitle ( ( oldTitle + "<seq2seq4repair_space>*" ) ) ; } else if ( ( ( ( ( Boolean ) ( evt . getNewValue ( ) ) ) . booleanValue ( ) ) == false ) && ( oldTitle . endsWith ( "*" ) ) ) { super . setTitle ( oldTitle . substring ( 0 , ( ( oldTitle . length ( ) ) - 2 ) ) ) ; } } } public ToDoPane getTodoPane ( ) { } public NavigatorPane getNavigatorPane ( ) { } public SplashScreen getSplashScreen ( ) { } public void setSplashScreen ( SplashScreen splash ) { } public static synchronized ProjectBrowser getInstance ( ) { } public static synchronized void setSplash ( boolean splash ) { } }

Fix:
org . argouml . ui . targetmanager . TargetManager . getInstance ( ) . setTarget ( p . getInitialTarget ( ) ) ;