This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 123044 - Surround with... doesn't work
Summary: Surround with... doesn't work
Status: CLOSED DUPLICATE of bug 116592
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Lahoda
Depends on:
Reported: 2007-11-29 11:56 UTC by Ivan Sidorkin
Modified: 2011-02-23 17:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Sidorkin 2007-11-29 11:56:55 UTC
- open java file
- select some code
- try to click Surround With icon in gutter or Alt-Enter

	at javax.swing.ScrollPaneLayout.preferredLayoutSize(
	at java.awt.Container.preferredSize(
	at java.awt.Container.getPreferredSize(
	at javax.swing.JComponent.getPreferredSize(
	at org.netbeans.modules.editor.hints.borrowed.ScrollCompletionPane.<init>(
	at org.netbeans.modules.editor.hints.HintsUI.showPopup(
	at org.netbeans.modules.editor.hints.HintsUI.invokeDefaultAction(
	at org.netbeans.modules.editor.hints.HintsUI.keyPressed(
Comment 1 Jan Lahoda 2007-11-29 12:02:25 UTC
I am afraid that this is a know JDK bug (affecting all editor hints, not only the Surround with hint). See issue #116592
for more details.

*** This issue has been marked as a duplicate of 116592 ***