Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #23389
| X-Received | by 10.224.207.2 with SMTP id fw2mr6756520qab.6.1365458864290; Mon, 08 Apr 2013 15:07:44 -0700 (PDT) |
|---|---|
| X-Received | by 10.49.119.230 with SMTP id kx6mr533691qeb.18.1365458864276; Mon, 08 Apr 2013 15:07:44 -0700 (PDT) |
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!ca1no36714891qab.0!news-out.google.com!ef9ni9246qab.0!nntp.google.com!ca1no36714887qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.java.programmer |
| Date | Mon, 8 Apr 2013 15:07:44 -0700 (PDT) |
| In-Reply-To | <d269c915-01f6-4d6f-97b4-77ee5924d4fc@googlegroups.com> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=69.28.149.29; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T |
| NNTP-Posting-Host | 69.28.149.29 |
| References | <d269c915-01f6-4d6f-97b4-77ee5924d4fc@googlegroups.com> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <4836a41f-6609-482e-83b5-036b40b8067e@googlegroups.com> (permalink) |
| Subject | Re: No Box.createRigidArea .. In NetBeans Toolbox |
| From | Lew <lewbloch@gmail.com> |
| Injection-Date | Mon, 08 Apr 2013 22:07:44 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Xref | csiph.com comp.lang.java.programmer:23389 |
Show key headers only | View raw
clusa...@aol.com wrote: > I don't think that "Box" is a control in the NetBeans toolbox. IIRC you can add components to the toolbox. > Consequently, I'd like to simulate the following lines of code. > > Question: How do I do it? Type it in directly? > JPanel MyPanel; Variable names are supposed to begin with a lower-case letter. > MyPanel.add(Box.createRigidArea(new Dimensions 20,25)); This doesn't throw a 'NullPointerException' for you? It should. > MyPanel.add. ... > > MyPanel.add(Box.createHorizontalGlue()); Why would you add that to the panel? -- Lew
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
No Box.createRigidArea .. In NetBeans Toolbox clusardi2k@aol.com - 2013-04-08 14:19 -0700
Re: No Box.createRigidArea .. In NetBeans Toolbox Lew <lewbloch@gmail.com> - 2013-04-08 15:07 -0700
Re: No Box.createRigidArea .. In NetBeans Toolbox markspace <markspace@nospam.nospam> - 2013-04-08 15:15 -0700
Re: No Box.createRigidArea .. In NetBeans Toolbox markspace <markspace@nospam.nospam> - 2013-04-08 15:35 -0700
Re: No Box.createRigidArea .. In NetBeans Toolbox clusardi2k@aol.com - 2013-04-09 18:23 -0700
Re: No Box.createRigidArea .. In NetBeans Toolbox markspace <markspace@nospam.nospam> - 2013-04-09 20:25 -0700
Re: No Box.createRigidArea .. In NetBeans Toolbox "John B. Matthews" <nospam@nospam.invalid> - 2013-04-10 10:55 -0400
Re: No Box.createRigidArea .. In NetBeans Toolbox clusardi2k@aol.com - 2013-04-10 11:32 -0700
Re: No Box.createRigidArea .. In NetBeans Toolbox clusardi2k@aol.com - 2013-04-10 12:17 -0700
Re: No Box.createRigidArea .. In NetBeans Toolbox clusardi2k@aol.com - 2013-04-10 12:37 -0700
Re: No Box.createRigidArea .. In NetBeans Toolbox "John B. Matthews" <nospam@nospam.invalid> - 2013-04-10 15:40 -0400
Re: No Box.createRigidArea .. In NetBeans Toolbox clusardi2k@aol.com - 2013-04-11 05:25 -0700
csiph-web