comparing with http://hg.netbeans.org/main/ searching for changes changeset: 83087:38c978b499ff user: derbeth@netbeans.org date: Sun Jun 15 14:57:59 2008 +0200 summary: fixed language of comments diff -r 93a25182fe41 -r 38c978b499ff api.visual/src/org/netbeans/api/visual/action/WidgetAction.java --- a/api.visual/src/org/netbeans/api/visual/action/WidgetAction.java Fri Jun 06 18:52:10 2008 -0500 +++ b/api.visual/src/org/netbeans/api/visual/action/WidgetAction.java Sun Jun 15 14:57:59 2008 +0200 @@ -66,7 +66,7 @@ * Each event handler has to return a state of the event processing (represented by WidgetAction.State). *

* Each Swing event is processed by all actions of all widgets in a scene. The processing can be stopped by consuming the event. - * When processing event for a widget, then all children widget (from the last) of widget are asked for processing first. + * When processing event for a widget, then all children widgets (from the last) of widget are asked for processing first. * Then finally the event is processed by all actions (from the first to the last) assigned to the widget. * * @author David Kaspar @@ -89,7 +89,7 @@ }; /** - * The state that means: The event is processed by the action and the processing has to stopped immediately (no other action should processed it). + * The state that means: The event is processed by the action and the processing has to stopped immediately (no other action should process it). */ public static final State CONSUMED = new State() { public boolean isLockedInChain() { return false; } @@ -109,9 +109,9 @@ }; /** - * Creates a state that means: The event is processed and the processing has to stopped immediately (no other action should processed it). + * Creates a state that means: The event is processed and the processing has to be stopped immediately (no other action should process it). * Next event will be processed by the lockedAction on lockedAction first. - * Only if the lockedAction reject the event, then the event will be processed regularly. + * Only if the lockedAction rejects the event, then the event will be processed regularly. * It is used for locking the event processing for a long-term operation like moving, resizing, rectangular selection, ... * (usually they are using mouse motion events). */ changeset: 83088:0b7c0c5357db tag: tip user: derbeth@netbeans.org date: Mon Jun 16 23:04:37 2008 +0200 summary: fixed a bit misleading comment language diff -r 38c978b499ff -r 0b7c0c5357db api.visual/src/org/netbeans/api/visual/layout/LayoutFactory.java --- a/api.visual/src/org/netbeans/api/visual/layout/LayoutFactory.java Sun Jun 15 14:57:59 2008 +0200 +++ b/api.visual/src/org/netbeans/api/visual/layout/LayoutFactory.java Mon Jun 16 23:04:37 2008 +0200 @@ -114,10 +114,10 @@ } /** - * Creates a vertical flow layout with a specific style where widgets are placed vertically one to the bottom from another. + * Creates a vertical flow layout with a specific style where widgets are placed vertically one to the bottom of another. * The instance can be shared by multiple widgets. * If child widget constraint is an Number value, - * then its integer value is takes as a weight in which the remaining height of the parent widget is split. + * then its integer value is taken as a weight in which the remaining height of the parent widget is split. * @param alignment the alignment * @param gap the gap between widgets * @return the vertical flow layout @@ -129,10 +129,10 @@ } /** - * Creates a vertical flow layout with default style where widgets are placed vertically one to the bottom from another. + * Creates a vertical flow layout with default style where widgets are placed vertically one to the bottom of another. * The instance can be shared by multiple widgets. * If child widget constraint is an Number value, - * then its integer value is takes as a weight in which the remaining height of the parent widget is split. + * then its integer value is taken as a weight in which the remaining height of the parent widget is split. * @return the vertical flow layout */ public static Layout createVerticalFlowLayout () { @@ -140,10 +140,10 @@ } /** - * Creates a vertical flow layout with a specific style where widgets are placed vertically one to the bottom from another. + * Creates a vertical flow layout with a specific style where widgets are placed vertically one to the bottom of another. * The instance can be shared by multiple widgets. * If child widget constraint is an Number value, - * then its integer value is takes as a weight in which the remaining height of the parent widget is split. + * then its integer value is taken as a weight in which the remaining height of the parent widget is split. * @param alignment the alignment * @param gap the gap between widgets * @return the vertical flow layout @@ -156,7 +156,7 @@ * Creates a horizontal flow layout with default style where widgets are placed horizontally one to the right from another. * The instance can be shared by multiple widgets. * If child widget constraint is an Number value, - * then its integer value is takes as a weight in which the remaining width of the parent widget is split. + * then its integer value is taken as a weight in which the remaining width of the parent widget is split. * @return the horizontal flow layout * @deprecated use createHorizontalFlowLayout method instead */ @@ -169,7 +169,7 @@ * Creates a horizontal flow layout with a specific style where widgets are placed horizontally one to the right from another. * The instance can be shared by multiple widgets. * If child widget constraint is an Number value, - * then its integer value is takes as a weight in which the remaining width of the parent widget is split. + * then its integer value is taken as a weight in which the remaining width of the parent widget is split. * @param alignment the alignment * @param gap the gap between widgets * @return the horizontal flow layout @@ -184,7 +184,7 @@ * Creates a horizontal flow layout with default style where widgets are placed horizontally one to the right from another. * The instance can be shared by multiple widgets. * If child widget constraint is an Number value, - * then its integer value is takes as a weight in which the remaining width of the parent widget is split. + * then its integer value is taken as a weight in which the remaining width of the parent widget is split. * @return the horizontal flow layout */ public static Layout createHorizontalFlowLayout () { @@ -195,7 +195,7 @@ * Creates a horizontal flow layout with a specific style where widgets are placed horizontally one to the right from another. * The instance can be shared by multiple widgets. * If child widget constraint is an Number value, - * then its integer value is takes as a weight in which the remaining width of the parent widget is split. + * then its integer value is taken as a weight in which the remaining width of the parent widget is split. * @param alignment the alignment * @param gap the gap between widgets * @return the horizontal flow layout @@ -238,7 +238,7 @@ } /** - * Returns a fill layout where all children widgets has the boundary at the biggest one of them or + * Returns a fill layout where all children widgets have the boundary at the biggest one of them or * they are expanded to the parent widget boundaries during justification. * The instance can be shared by multiple widgets. * @return the fill layout @@ -250,7 +250,7 @@ } /** - * Returns a overlay layout where all children widgets has the boundary at the biggest one of them or + * Returns a overlay layout where all children widgets have the boundary at the biggest one of them or * they are expanded to the parent widget boundaries during justification. * The instance can be shared by multiple widgets. * @return the overlay layout