[Bojangles-cvs] cvs: bojangles / MainWindow.java
Status: Alpha
Brought to you by:
nehresma
|
From: kai5263499 <boj...@li...> - 2002-09-30 21:05:04
|
kai5263499 Mon Sep 30 14:05:01 2002 EDT
Modified files:
/bojangles MainWindow.java
Log:
Just need to get it out of the JTree and we will be set...
Index: bojangles/MainWindow.java
diff -u bojangles/MainWindow.java:1.34 bojangles/MainWindow.java:1.35
--- bojangles/MainWindow.java:1.34 Wed Sep 25 13:54:44 2002
+++ bojangles/MainWindow.java Mon Sep 30 14:05:00 2002
@@ -509,12 +509,16 @@
JPanel parent_widget = (JPanel)p.get("widget");
JPanel com_widget = (JPanel)h.get("widget");
- // KILL DE WIDGET!
+ // KILL DE WIDGET! and repaint
+ //widgetTree.remove(row);
+ widgetTree.toString();
parent_widget.remove(com_widget);
- // remove rest here
+ parent_widget.repaint();
+ widgetTree.repaint();
+
+ xmlHandler.removeElement(path);
+ System.out.println("I want to kill " + row);
- // Redraw the parent
- parent_widget.invalidate();
// remove this component from the parent container and then the document's xml then the correlation's file
//System.out.println("parent: " + parent_widget.validate());
System.out.println("parent: " + parent_path);
|