[svn:fx-3.x] 7499: Addendum to fix for BLZ-233 - adjust visibility of new internal heartbeat util methods to protected from private .

Revision: 7499
Author:   [email protected]
Date:     2009-06-02 16:10:08 -0700 (Tue, 02 Jun 2009)
Log Message:
Addendum to fix for BLZ-233 - adjust visibility of new internal heartbeat util methods to protected from private.
QA: No
Doc: No
Checkintests Pass: Yes
Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-233
Modified Paths:
    flex/sdk/branches/3.x/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as

inspired2apathy wrote:
... The goal is a ScrollPane that automatically wraps the text inside it. I've just about got it, but I have one thing that's not working. If I just put the JTextArea{s} in as the Editor, then you lose the any text that doesn't fit inside whatever the initial size was. Instead, I put the JTextAreas inside a JScrollPane which works fine, except that I still have to determine the size of the JScrollPane in advance. I would like to make each Editor/JScrollPane start out with just a single line of text and expand until it reaches a certain small number of lines.
... What am I missing?THE BASICS. See if this isn't what you are trying to do.
import javax.swing.JFrame;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
public class Test
  public static void main(String[] args) {
    JTextArea ta = new JTextArea();
    ta.setLineWrap(true);
    ta.setWrapStyleWord(true);
    JScrollPane sp = new JScrollPane(ta);
    JFrame f = new JFrame();
    f.getContentPane().add(sp, "Center");
    f.setBounds(0, 0, 400, 300);
    f.setDefaultCloseOperation(f.EXIT_ON_CLOSE);
    f.setVisible(true); 
}OP, your code was too long and complicated for me to compile and run. However, aren't you forgetting the two simple methods <tt>JTextArea.setLineWrap()</tt> and <tt>JTextArea.setWrapStyleWord()</tt>? Furthermore, I absolutely see no need for you to extend SWING components for demonstration this simple -- that is, if I understand your problem correctly.

Similar Messages

  • [svn] 3779: Continue fix for BLZ-262: null pointer exception on redeploy of web app/servlet.

    Revision: 3779
    Author: [email protected]
    Date: 2008-10-21 10:23:55 -0700 (Tue, 21 Oct 2008)
    Log Message:
    Continue fix for BLZ-262: null pointer exception on redeploy of web app/servlet.
    Remove finally block in servlet init() as the call to destroy() in the catch block will clear ThreadLocals
    if there is an error. Move it to the end of try block instead since the init() thread doesn't need any
    thread locals set.
    Log the startup error before calling destroy() in init() catch clause.
    QA: Yes
    Doc: No
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-262
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/MessageBrokerServlet.java

    Hello!
    I had a similar problem under WebLogic 6.1 SP4 after deploying a war-file with
    a bug.
    After deploying the corrected file, it seemed that the old version was deployed
    again.
    Perhaps this behaviour will help you to load the new application/ejb:
    - undeploy
    - remove from targets
    - move to targets
    - deploy
    Claudia
    "Marco" <[email protected]> wrote:
    >
    hi all,
    i have found a werid problem in deploying applications in Solaris 8
    for weblogic
    7.0.
    i have deployed one EJB, and the first time i access it (thru teh web
    app embedded
    in the .ear) it gave me a null pointer exception because i was failing
    to lookup
    one environment variable.
    so, i fix the code, rebuild the ear and redeployed, and the same error
    happened
    again.
    i am sure i did not do any mistakees because i have put some system.err
    statements
    in the bean code to show the workflow, and when i have deployed it on
    Window 2k
    the statemens appeared.
    but in solaris they didnot appear, and i got the same exception that
    i had before..
    it looks like wls is caching teh ejb, because whenever i redeploy it
    (adding more
    and more system.err statements) it always execute the faulty code of
    when deployed
    the very first time.
    anyone can help?
    regards
    marco

  • [svn] 1418: Remove the optimization that was added as part of the fix for BLZ-133.

    Revision: 1418
    Author: [email protected]
    Date: 2008-04-25 11:16:16 -0700 (Fri, 25 Apr 2008)
    Log Message:
    Remove the optimization that was added as part of the fix for BLZ-133. We cannot depend on isRequestedSessionIdFromCookie reliably, instead we should rely on the fact that encodeURL returns the same url when cookies are enabled.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-133
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/endpoints/amf/SessionFilter.j ava

    This indicates corrupt files.  A restore should resolve.

  • [svn:bz-trunk] 10631: Proper fix for BLZ-343 and LCDS-1153.

    Revision: 10631
    Author:   [email protected]
    Date:     2009-09-28 05:23:42 -0700 (Mon, 28 Sep 2009)
    Log Message:
    Proper fix for BLZ-343 and LCDS-1153.
    Refactored the common logic for AMF0 and AMF3 back into AbstractAmfInput. Resolving class aliases, creating and registering a property proxy and instantiating the appropriate class are now handled in the superclass. The resolved className and the proxy are 'returned' to the subclasses via a holder array created in the subclasses and sent as a parameter.
    blazeDS checkintests pass
    lcds-trunk checkintests pass with the new flex-messaging-core.jar
    lcds-trunk alltests-dataservice pass with the new flex-messaging-core.jar
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-343
        http://bugs.adobe.com/jira/browse/LCDS-1153
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/io/amf/AbstractAmfInput.java
        blazeds/trunk/modules/core/src/flex/messaging/io/amf/Amf0Input.java
        blazeds/trunk/modules/core/src/flex/messaging/io/amf/Amf3Input.java

  • [svn:bz-trunk] 19323: Revert fix for BLZ-578 (checkin 19214).

    Revision: 19323
    Revision: 19323
    Author:   [email protected]
    Date:     2010-12-13 12:10:28 -0800 (Mon, 13 Dec 2010)
    Log Message:
    Revert fix for BLZ-578 (checkin 19214). The BlazeDS/LCDS Spring integration code had a dependency on the thread local stuff that was removed as part of this bug fix. Revert the fix so we can move forward with lockdown testing. We can add this change back in when we resolve the dependency issue (tracked by Watson 2774331) if that's the appropriate thing to do. 
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-578
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/FlexContext.java
        blazeds/trunk/modules/core/src/flex/messaging/MessageBroker.java
        blazeds/trunk/modules/core/src/flex/messaging/MessageBrokerServlet.java
        blazeds/trunk/modules/core/src/flex/messaging/MessageException.java

  • [svn:bz-trunk] 23118: bug fix for blz 567

    Revision: 23118
    Revision: 23118
    Author:   [email protected]
    Date:     2011-10-25 13:04:50 -0700 (Tue, 25 Oct 2011)
    Log Message:
    bug fix for blz 567
    Add and indicator to the Fault event that the number of max-streaming-connections-per-session have been exceeded.
    consist with the response code to be SC_SERVICE_NOTAVAILABLE,
    for errorMessage, cross out the limit configuration.
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/endpoints/BaseStreamingHTTPEndpoint.java

  • [svn:bz-trunk] 19598: Add back fix for BLZ-578.

    Revision: 19598
    Revision: 19598
    Author:   [email protected]
    Date:     2011-01-05 08:50:58 -0800 (Wed, 05 Jan 2011)
    Log Message:
    Add back fix for BLZ-578. This fix was reverted because the LCDS Spring integration code had a dependency on thread local stuff that was removed by this fix. The LCDS Spring integration code was updated to not have the dependency any more so we should be able to add this fix back.
    Checkintests: passed.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-578
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/FlexContext.java
        blazeds/trunk/modules/core/src/flex/messaging/MessageBroker.java
        blazeds/trunk/modules/core/src/flex/messaging/MessageBrokerServlet.java
        blazeds/trunk/modules/core/src/flex/messaging/MessageException.java

  • [svn:bz-trunk] 10281: Fix for BLZ-343.

    Revision: 10281
    Author:   [email protected]
    Date:     2009-09-15 15:30:27 -0700 (Tue, 15 Sep 2009)
    Log Message:
    Fix for BLZ-343.
    Move common code from AbstractAmfInput back to the subclasses Amf0Input and Amf3Input. A proxy instance was being created locally in the superclass method, but was unavaliable to the remaining code in the subclasses. The subclasses were therefore using the wrong proxy to unwrap the value, which caused problems when deserializing Enums.
    reviewed by Mete
    checkintests pass (minus 2 that have been failing intermittently)
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-343
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/io/amf/AbstractAmfInput.java
        blazeds/trunk/modules/core/src/flex/messaging/io/amf/Amf0Input.java
        blazeds/trunk/modules/core/src/flex/messaging/io/amf/Amf3Input.java
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/messagingService/dataTypesTest/E numTypeTest.mxml
        blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/remotingService/dataTypes/EnumTy peTest.mxml

  • [svn] 4116: Fix for BLZ-274.

    Revision: 4116
    Author: [email protected]
    Date: 2008-11-14 13:00:15 -0800 (Fri, 14 Nov 2008)
    Log Message:
    Fix for BLZ-274. Modified instructions to note WTP checkbox is not always present.
    Checkin tests not relevant.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-274
    Modified Paths:
    blazeds/branches/3.x/apps/samples/fb-project-setup.htm

    Hi --
    Are there any configuration changes or specific code changes that are required in order to enable this fix? Should browsers with cookies automatically work without any config changes?
    Thanks

  • [svn] 3766: Fix for BLZ-261: Null pointer exception in Websphere login code .

    Revision: 3766
    Author: [email protected]
    Date: 2008-10-21 05:59:49 -0700 (Tue, 21 Oct 2008)
    Log Message:
    Fix for BLZ-261: Null pointer exception in Websphere login code.
    Protect the debug logging from being called if the principal variable is null.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-261
    Modified Paths:
    blazeds/trunk/modules/opt/src/websphere/flex/messaging/security/WebSphereLoginCommand.jav a

    Revision: 3766
    Author: [email protected]
    Date: 2008-10-21 05:59:49 -0700 (Tue, 21 Oct 2008)
    Log Message:
    Fix for BLZ-261: Null pointer exception in Websphere login code.
    Protect the debug logging from being called if the principal variable is null.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-261
    Modified Paths:
    blazeds/trunk/modules/opt/src/websphere/flex/messaging/security/WebSphereLoginCommand.jav a

  • [svn] 3753: Merge fix for BLZ-215 from trunk to 3.0.x.

    Revision: 3753
    Author: [email protected]
    Date: 2008-10-20 13:13:54 -0700 (Mon, 20 Oct 2008)
    Log Message:
    Merge fix for BLZ-215 from trunk to 3.0.x.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-215
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/client/EndpointPushHandler.ja va
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/client/EndpointPushNotifier.j ava
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/client/FlexClient.java

  • [svn] 2030: Merge fix for BLZ-188 from branches/3.0.x to trunk.

    Revision: 2030
    Author: [email protected]
    Date: 2008-06-10 15:42:20 -0700 (Tue, 10 Jun 2008)
    Log Message:
    Merge fix for BLZ-188 from branches/3.0.x to trunk.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-188
    Modified Paths:
    blazeds/trunk/modules/core/src/java/flex/management/jmx/MBeanServerGateway.java

  • [svn] 2650: Add fix for blz-221 and BLZ-225 for samples app

    Revision: 2650
    Author: [email protected]
    Date: 2008-07-29 09:48:41 -0700 (Tue, 29 Jul 2008)
    Log Message:
    Add fix for blz-221 and BLZ-225 for samples app
    Ticket Links:
    http://bugs.adobe.com/jira/browse/blz-221
    http://bugs.adobe.com/jira/browse/BLZ-225
    Modified Paths:
    blazeds/branches/3.0.x/apps/samples/WEB-INF/flex-src/traderdesktop/src/traderdesktop.mxml
    blazeds/branches/3.0.x/apps/samples/WEB-INF/src/flex/samples/marketdata/Stock.java

    Revision: 2650
    Author: [email protected]
    Date: 2008-07-29 09:48:41 -0700 (Tue, 29 Jul 2008)
    Log Message:
    Add fix for blz-221 and BLZ-225 for samples app
    Ticket Links:
    http://bugs.adobe.com/jira/browse/blz-221
    http://bugs.adobe.com/jira/browse/BLZ-225
    Modified Paths:
    blazeds/branches/3.0.x/apps/samples/WEB-INF/flex-src/traderdesktop/src/traderdesktop.mxml
    blazeds/branches/3.0.x/apps/samples/WEB-INF/src/flex/samples/marketdata/Stock.java

  • [svn] 3216: Fix for MXMLG-228, a visibility problem with graphic elements.

    Revision: 3216
    Author: [email protected]
    Date: 2008-09-15 18:13:11 -0700 (Mon, 15 Sep 2008)
    Log Message:
    Fix for MXMLG-228, a visibility problem with graphic elements. This is a quick fix that may force extra display objects when toggling visibility. We should investigate alternate solutions if performance is a problem.
    Bugs: MXMLG-228
    Reviewer: Deepa
    QA: Please check for performance problems when toggling visibility of a large number of graphic elements.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/MXMLG-228
    http://bugs.adobe.com/jira/browse/MXMLG-228
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/GraphicElement .as

    Hello Antonio;
    After many, many test I discovered that the problem, at least in my case it is caused by the new ACR 4.5. Please read the Thread that I post under Camera Raw. I include the link below.
    I also open two Bug Reports about this, but as usual Adobe (and other Software Companies) will never take responsability for this, until one day they release a new version with "enhancements".
    PSE6 Organizer Crash with ACR 4.5 (Vista Only?)
    http://www.adobeforums.com/webx/.3bb6a869.59b60d3e

  • HT4528 Is there a fix for the bug where my BRAND NEW iphone 5S is locking up when I enable the magnifying glass to edit a text and it locks up!?

    Is there a fix for the bug where my BRAND NEW iphone 5S is locking up when I enable the magnifying glass to edit a text and it locks up!?

    Try a reboot press & hold power button & menu until Apple Logo comes on then wait
    you will not lose any data.
    That may fix your problem.
    bsydd uk

Maybe you are looking for

  • How do I stream the dvd's I insert into my mac on my apple tv?

    How do I stream the dvd's I insert into my mac on my apple tv?

  • Displaying a matrix using DOM

    hi group, this is satya chowdhury .i am facing some problem in how to parse a matrix using dom.the xml file is as follows:- <?xml version="1.0" ?> - <matrix> <rows>4</rows> <columns>4</columns> - <row> <column>11</column> <column>12</column> <column>

  • Not a matter of national security but...

    Hello, I am less tech savvy than your grandmother or a 2 year old-.so although I have searched this site to see if there were previous answers-some appear to be the same question, but I don't understand the answers. I take NOTES on my I phone, and ju

  • Some examples in saving the output into memory

    After running the class file i would like to save the results into memory, and then update the results in memory every time the program runs including the number of times it checked whatever it is going to check with the result of that checking. Then

  • Illustrator CS3 & CS4 crash on launch

    Have used CS4 without problems on OSX 4.11 for 9 months. After doing an Adobe Update after Xmas, Illustrator started crashing on launch. Tried Illustrator CS3 and it crashed too. InDesign crashes when I try to export or package or place anything from