|
List Info
Thread: Java Windows Programming Primer
|
|
| Java Windows Programming Primer |

|
2006-11-08 22:04:49 |
|
| Hello
PJUG,
I
am hunting for some tutorials on how to declare and assign windows objects in
Java. I am swimming in loosely related information so any recommendations
of literature people have liked on the subject would be appreciated. Some
examples of examples I would like to find are:
1) Have a Java app
launch Microsoft Excel in Windows XP, create a new workbook, and assign value 3
to cell B2 on sheet1.
2) Assign a user
created button in Excel to launch a Hello World Java
program.
3) Have a Java app
draw a standard Windows messagebox.
4) Embed a java
class inside an Excel workbook
Hopefully, SOME of these are easily
accomplished. I know these are mickey mouse questions to some of you, but
my name is Mikey, not Mickey! :P
Thanks in
Advance,
Michael |
| Java Windows Programming Primer |

|
2006-11-08 23:14:37 |
You can probably do it in Java, but it will be much easier
in C# and .NET
http://msdn.microsoft.com/en-us/vcsharp/default.aspx
Sean
>-- Original Message --
>Date: Wed, 8 Nov 2006 14:04:49 -0800
>From: <MichaelMcDonald Freightliner.com>
>To: <javamail pjug.org>
>Subject: [PJUG Javamail] Java Windows Programming Primer
>
>
>Hello PJUG,
>
> I am hunting for some tutorials on how to declare
and assign windows
>objects in Java. I am swimming in loosely related
information so any
>recommendations of literature people have liked on the
subject would be
>appreciated. Some examples of examples I would like to
find are:
>
>1) Have a Java app launch Microsoft Excel in Windows XP,
create a new
>workbook, and assign value 3 to cell B2 on sheet1.
>
>2) Assign a user created button in Excel to launch a
Hello World Java
>program.
>
>3) Have a Java app draw a standard Windows messagebox.
>
>4) Embed a java class inside an Excel workbook
>
> Hopefully, SOME of these are easily accomplished.
I know these
>are mickey mouse questions to some of you, but my name
is Mikey, not
>Mickey! :P
>
>
>Thanks in Advance,
>
>Michael
>_______________________________________________
>Web Site - http://www.pjug.org/
>Javamail mailing list
>Javamail pjug.org
>http://www.pjug.org/mailman/listinfo/javamail_pjug.org
_______________________________________________
Web Site - http://www.pjug.org/
Javamail mailing list
Javamail pjug.org
http://www.pjug.org/mailman/listinfo/javamail_pjug.org
|
|
| Java Windows Programming Primer |

|
2006-11-08 23:57:35 |
|
If you're not stuck with MS, you might consider doing this with
OpenOffice. I think you'll find the community very responsive and
there's documentation on how to do these types of things w/ Java:
http://development.openoffice.org/
Look at the "Java Resources" section. If you haven't used Open Office
recently, it has come a long way. The Open Document Format that it is
based on is also gaining a lot of popularity... even Google's online
word processing application uses it, as does AjaxWrite:
http://docs.google.com
http://www.ajaxwrite.com
Both awesome Ajax WWW sites, BTW.
Ken
Sean C. Sullivan wrote:
mta12.wss.scd.yahoo.com"
type="cite">
You can probably do it in Java, but it will be much easier in C# and .NET
http://msdn.microsoft.com/en-us/vcsharp/default.aspx
Sean
-- Original Message --
Date: Wed, 8 Nov 2006 14:04:49 -0800
From: Freightliner.com"><MichaelMcDonald Freightliner.com>
To: pjug.org"><javamail pjug.org>
Subject: [PJUG Javamail] Java Windows Programming Primer
Hello PJUG,
I am hunting for some tutorials on how to declare and assign windows
objects in Java. I am swimming in loosely related information so any
recommendations of literature people have liked on the subject would be
appreciated. Some examples of examples I would like to find are:
1) Have a Java app launch Microsoft Excel in Windows XP, create a new
workbook, and assign value 3 to cell B2 on sheet1.
2) Assign a user created button in Excel to launch a Hello World Java
program.
3) Have a Java app draw a standard Windows messagebox.
4) Embed a java class inside an Excel workbook
Hopefully, SOME of these are easily accomplished. I know these
are mickey mouse questions to some of you, but my name is Mikey, not
Mickey! :P
Thanks in Advance,
Michael
_______________________________________________
Web Site - http://www.pjug.org/
Javamail mailing list
pjug.org">Javamail pjug.org
http://www.pjug.org/mailman/listinfo/javamail_pjug.org
_______________________________________________
Web Site - http://www.pjug.org/
Javamail mailing list
pjug.org">Javamail pjug.org
http://www.pjug.org/mailman/listinfo/javamail_pjug.org
|
| Java Windows Programming Primer |

|
2006-11-09 00:10:11 |
|
i've got a couple of ideas that I have listed below each of your queries that I am able to address.
On 11/8/06, MichaelMcDonald freightliner.com">MichaelMcDonald freightliner.com < MichaelMcDonald freightliner.com">MichaelMcDonald freightliner.com
> wrote:
Hello PJUG,
I am hunting for some tutorials on how to declare and assign windows objects in Java. I am swimming in loosely related information so any recommendations of literature people have liked on the subject would be appreciated. Some examples of examples I would like to find are:
1) Have a Java app launch Microsoft Excel in Windows XP, create a new workbook, and assign value 3 to cell B2 on sheet1.
You can use the Runtime class's exec method to launch Microsoft Excel. It is possible that you could perform the other actions by using command line arguments with the Excel executable to do the other functions, but I'm not sure as I haven't worked with Excel for awhile. If none of the gurus on this list have a better idea, also consider writing a VB app to perform those functions and launch it from java with the exec method.
2) Assign a user created button in Excel to launch a Hello World Java program.
I'm not sure this can be done. I think that buttons in Office applications can only launch VBA macros.
3) Have a Java app draw a standard Windows messagebox.
Look at the AWT or swing packages. They enable you to build the equivalent of a windows message box pretty easily.
4) Embed a java class inside an Excel workbook
Again, I don't think this is doable.
Hopefully, SOME of these are easily accomplished. I know these are mickey mouse questions to some of you, but my name is Mikey, not Mickey! :P
Thanks in Advance,
Michael _______________________________________________ Web Site -
http://www.pjug.org/ Javamail mailing list pjug.org">Javamail pjug.org
http://www.pjug.org/mailman/listinfo/javamail_pjug.org
|
[1-4]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|