You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2013/08/21 15:52:55 UTC
[Bug 55463] New: Component.requestFocus() is discouraged; use
requestFocusInWindow() instead
https://issues.apache.org/bugzilla/show_bug.cgi?id=55463
Bug ID: 55463
Summary: Component.requestFocus() is discouraged; use
requestFocusInWindow() instead
Product: JMeter
Version: 2.9
Hardware: PC
OS: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Main
Assignee: issues@jmeter.apache.org
Reporter: sebb@apache.org
According to the Javadoc:
Component.requestFocus() is discouraged because it is platform dependendent;
where possible applications should use requestFocusInWindow() instead.
It looks like the main difference is that requestFocusInWindow() does not allow
the focussed window to be changed; i.e. the component must already be the
focussed window.
It seems likely that this will always be the case for JMeter, so the method
invocations should be updated.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 55463] Component.requestFocus() is discouraged; use
requestFocusInWindow() instead
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55463
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |p.mouawad@ubik-ingenierie.c
| |om
Resolution|--- |FIXED
--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Date: Wed Aug 21 16:24:58 2013
New Revision: 1516202
URL: http://svn.apache.org/r1516202
Log:
Bug 55463 - Component.requestFocus() is discouraged; use requestFocusInWindow()
instead
Bugzilla Id: 55463
Modified:
jmeter/trunk/src/core/org/apache/jmeter/gui/GuiPackage.java
jmeter/trunk/src/core/org/apache/jmeter/gui/util/FocusRequester.java
jmeter/trunk/src/core/org/apache/jmeter/gui/util/JDateField.java
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/modifier/gui/ParamModifierGui.java
jmeter/trunk/src/reports/org/apache/jmeter/gui/ReportGuiPackage.java
jmeter/trunk/src/reports/org/apache/jmeter/report/gui/tree/ReportTreeListener.java
jmeter/trunk/xdocs/changes.xml
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 55463] Component.requestFocus() is discouraged; use
requestFocusInWindow() instead
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55463
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Hardware|PC |All
OS|Windows XP |All
--
You are receiving this mail because:
You are the assignee for the bug.