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 122453 - issues of tutorials/60/nbm-google.html
Summary: issues of tutorials/60/nbm-google.html
Status: RESOLVED FIXED
Alias: None
Product: usersguide
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Geertjan Wielenga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-21 02:14 UTC by Masaki Katakai
Modified: 2008-06-12 12:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2007-11-21 02:14:17 UTC
There are two issues in http://platform.netbeans.org/tutorials/60/nbm-google.html.

1. The attached zip file, which can not be run on NetBeans 6.0. I got exception.
http://www.netbeans.org/files/documents/4/570/GoogleToolbar.zip

java.lang.IllegalArgumentException: Alignment must be one of:LEADING, TRAILING or CENTER
	at org.jdesktop.layout.GroupLayout$ParallelGroup.checkChildAlignment(GroupLayout.java:2313)
	at org.jdesktop.layout.GroupLayout$ParallelGroup.add(GroupLayout.java:2229)
	at org.jdesktop.layout.GroupLayout$ParallelGroup.add(GroupLayout.java:2203)
	at org.myorg.googletoolbar.GooglePanel.initComponents(GooglePanel.java:50)
	at org.myorg.googletoolbar.GooglePanel.<init>(GooglePanel.java:20)
	at org.myorg.googletoolbar.GoogleAction.<init>(GoogleAction.java:7)

2. "select Java GUI Forms", but it should be "Swing GUI Forms" in NetBeans 6.0.
Comment 1 Petr Chytil 2008-04-11 10:44:38 UTC
reassigning to userguide/demosrc
Comment 2 Geertjan Wielenga 2008-04-11 10:48:57 UTC
Which JDK version are you using?
Comment 3 Geertjan Wielenga 2008-05-20 18:48:01 UTC
Which JDK version are you using?
Comment 4 Geertjan Wielenga 2008-06-12 11:46:27 UTC
Which JDK version are you using?
Comment 5 Geertjan Wielenga 2008-06-12 12:09:39 UTC
Fixed item 2. If item 1 is still a problem, please create a new issue. Always create one issue per problem, here you
created one for two, which is not ideal.