Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #19037 > unrolled thread
| Started by | bob smith <bob@coolfone.comze.com> |
|---|---|
| First post | 2012-10-02 07:50 -0700 |
| Last post | 2012-10-03 16:03 -0700 |
| Articles | 8 — 5 participants |
Back to article view | Back to comp.lang.java.programmer
new Swing project bob smith <bob@coolfone.comze.com> - 2012-10-02 07:50 -0700
Re: new Swing project Arne Vajhøj <arne@vajhoej.dk> - 2012-10-02 11:08 -0400
Re: new Swing project bob smith <bob@coolfone.comze.com> - 2012-10-02 12:02 -0700
Re: new Swing project Arne Vajhøj <arne@vajhoej.dk> - 2012-10-02 15:25 -0400
Re: new Swing project bob smith <bob@coolfone.comze.com> - 2012-10-02 13:24 -0700
Re: new Swing project Joerg Meier <joergmmeier@arcor.de> - 2012-10-02 21:33 +0200
Re: new Swing project Lew <lewbloch@gmail.com> - 2012-10-02 13:08 -0700
Re: new Swing project Roedy Green <see_website@mindprod.com.invalid> - 2012-10-03 16:03 -0700
| From | bob smith <bob@coolfone.comze.com> |
|---|---|
| Date | 2012-10-02 07:50 -0700 |
| Subject | new Swing project |
| Message-ID | <f199bd0c-834a-4e9a-9e52-7fdbde7f9447@googlegroups.com> |
What is the easiest way to start a new Swing project in Eclipse?
[toc] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2012-10-02 11:08 -0400 |
| Message-ID | <506b0380$0$293$14726298@news.sunsite.dk> |
| In reply to | #19037 |
On 10/2/2012 10:50 AM, bob smith wrote: > What is the easiest way to start a new Swing project in Eclipse? You prefer to write the code yourself => plain Java project. You prefer GUI builder => install the plugin and then pick Swing project type. Arne
[toc] | [prev] | [next] | [standalone]
| From | bob smith <bob@coolfone.comze.com> |
|---|---|
| Date | 2012-10-02 12:02 -0700 |
| Message-ID | <c0b3de3c-b797-40f8-a47c-bd2e077dd611@googlegroups.com> |
| In reply to | #19038 |
On Tuesday, October 2, 2012 10:08:48 AM UTC-5, Arne Vajhøj wrote: > On 10/2/2012 10:50 AM, bob smith wrote: > > > What is the easiest way to start a new Swing project in Eclipse? > > > > You prefer to write the code yourself => plain Java project. > > > > You prefer GUI builder => install the plugin and then pick Swing project > > type. > > > > Arne I don't see a GUI Builder for Eclipse. Can you provide a link please?
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2012-10-02 15:25 -0400 |
| Message-ID | <506b3fae$0$281$14726298@news.sunsite.dk> |
| In reply to | #19043 |
On 10/2/2012 3:02 PM, bob smith wrote: > On Tuesday, October 2, 2012 10:08:48 AM UTC-5, Arne Vajhøj wrote: >> On 10/2/2012 10:50 AM, bob smith wrote: >>> What is the easiest way to start a new Swing project in Eclipse? >> >> You prefer to write the code yourself => plain Java project. >> >> You prefer GUI builder => install the plugin and then pick Swing project >> type. >> >> Arne > > I don't see a GUI Builder for Eclipse. Can you provide a link please? It is called WindowBuilder. You can find it in Eclipse MarketPlace by name. Arne
[toc] | [prev] | [next] | [standalone]
| From | bob smith <bob@coolfone.comze.com> |
|---|---|
| Date | 2012-10-02 13:24 -0700 |
| Message-ID | <21ca66f7-9d3d-4f99-a539-002f3ef5ad3c@googlegroups.com> |
| In reply to | #19045 |
On Tuesday, October 2, 2012 2:25:35 PM UTC-5, Arne Vajhøj wrote: > On 10/2/2012 3:02 PM, bob smith wrote: > > > On Tuesday, October 2, 2012 10:08:48 AM UTC-5, Arne Vajh�j wrote: > > >> On 10/2/2012 10:50 AM, bob smith wrote: > > >>> What is the easiest way to start a new Swing project in Eclipse? > > >> > > >> You prefer to write the code yourself => plain Java project. > > >> > > >> You prefer GUI builder => install the plugin and then pick Swing project > > >> type. > > >> > > >> Arne > > > > > > I don't see a GUI Builder for Eclipse. Can you provide a link please? > > > > It is called WindowBuilder. > > > > You can find it in Eclipse MarketPlace by name. > > > > Arne Ok. Cool. Thanks.
[toc] | [prev] | [next] | [standalone]
| From | Joerg Meier <joergmmeier@arcor.de> |
|---|---|
| Date | 2012-10-02 21:33 +0200 |
| Message-ID | <myef2iollazv$.1g06dnx4159jv$.dlg@40tude.net> |
| In reply to | #19043 |
On Tue, 2 Oct 2012 12:02:46 -0700 (PDT), bob smith wrote: > On Tuesday, October 2, 2012 10:08:48 AM UTC-5, Arne Vajhøj wrote: >> On 10/2/2012 10:50 AM, bob smith wrote: >>> What is the easiest way to start a new Swing project in Eclipse? >> You prefer to write the code yourself => plain Java project. >> You prefer GUI builder => install the plugin and then pick Swing project >> type. > I don't see a GUI Builder for Eclipse. Can you provide a link please? You googled for "Eclipse GUI builder" and didn't find even one ? I find that claim hard to believe. In the meantime, there are a few good suggestions here: http://stackoverflow.com/questions/29426/best-gui-designer-for-eclipse Liebe Gruesse, Joerg -- Ich lese meine Emails nicht, replies to Email bleiben also leider ungelesen.
[toc] | [prev] | [next] | [standalone]
| From | Lew <lewbloch@gmail.com> |
|---|---|
| Date | 2012-10-02 13:08 -0700 |
| Message-ID | <061126a6-706e-49cd-a104-24e2c541ca36@googlegroups.com> |
| In reply to | #19038 |
Arne Vajhøj wrote:
>bob smith wrote:
>> What is the easiest way to start a new Swing project in Eclipse?
>
> You prefer to write the code yourself => plain Java project.
>
> You prefer GUI builder => install the plugin and then pick Swing project
> type.
I have no evidence that this is the easiest way, but it's the way I first tried
in response to this question:
- Open Eclipse.
- Menu: File New Project
- New project dialog: "Java Project" Next> (I have no Swing plugin)
- Project Name: "Whatever", "Use default location", Next>
- Finish
Context-menu click on project in "Package Explorer" window
- "New" > "Class"
- Package: "com.example.whatever"
- Name: "Example"
- Check "public static void main(String[] args)" and "Generate comments"
- Finish
You get:
/**
* Example.
*/
package com.example.whatever;
/**
* Example.
*
*/
public class Example {
/**
* main.
*
* @param args
*/
public static void main(String[] args) {
}
}
Then start adding Swingish stuff.
public class Example {
private static final String TITLE="Example Swing App";
static final Logger logger = Logger.getLogger(Example.class.getSimpleName());
private final JFrame appWindow = new JFrame(TITLE);
/**
* Constructor.
*/
public Example()
{
appWindow.pack();
}
/**
* Run the screen.
*/
public void run()
{
appWindow.setVisible(true);
}
/**
* main.
*
* @param args String array of arguments.
*/
public static void main(String[] args) {
logger.fine("main()");
Runnable gui = new Runnable()
{
@Override public void run()
{
new Example().run();
}
};
SwingUtilities.invokeLater(gui);
}
}
--
Lew
[toc] | [prev] | [next] | [standalone]
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Date | 2012-10-03 16:03 -0700 |
| Message-ID | <q0hp68pmossv5094d5uoksudgrmetengsa@4ax.com> |
| In reply to | #19037 |
On Tue, 2 Oct 2012 07:50:16 -0700 (PDT), bob smith <bob@coolfone.comze.com> wrote, quoted or indirectly quoted someone who said : >What is the easiest way to start a new Swing project in Eclipse? clone the project from one similar you have already done. -- Roedy Green Canadian Mind Products http://mindprod.com The iPhone 5 is a low end Rolex.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web