Thomas Jancar - 2013-03-27
  • Description has changed:

Diff:

--- old
+++ new
@@ -1,4 +1,4 @@
-Since the BorderLayoutManager creates its own BorderLayoutConstraints, this subclass should inherit form DefaultLayoutManager.DefaultLayoutConstraints.
+Since the BorderLayoutManager creates its own BorderLayoutConstraints, this subclass should inherit from DefaultLayoutManager.DefaultLayoutConstraints.

 When you do something like that:

@@ -6,7 +6,7 @@
 [.. (bindToContainer, create Label, ...) ]
 layout.addWidget(label, BorderLayoutManager.CENTER, ...);

-an RuntimeException will be thrown:
+a RuntimeException will be thrown:

 Exception in thread "main" java.lang.RuntimeException: unknown constraint: jcurses.widgets.BorderLayoutConstraint
 at jcurses.widgets.DefaultLayoutManager.layout(DefaultLayoutManager.java:33)