Send Java-dev mailing list submissions to
email@hidden
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.apple.com/mailman/listinfo/java-dev
or, via email, send a message with subject or body 'help' to
email@hidden
You can reach the person managing the list at
email@hidden
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Java-dev digest..."
Today's Topics:
1. Re: Recommendation on Swing book? (Stephen Winnall)
2. Netbeans Problem: Cannot create new project. Could not find a
safe DOM serializer (Pixaden Java)
3. Configuring JBOSS & EJB container (ramakrishna rachakonda)
4. Re: Recommendation on Swing book? (Jeremy E. Denton)
5. Re: Configuring JBOSS & EJB container (Chris Woods)
6. Re: SWT_AWT on 1.5.0_07 (DP1), selector not recognized
exceptions (Scott Kovatch)
7. Re: Netbeans Problem: Cannot create new project. Could not
find a safe DOM serializer (brunosm)
8. Re: Recommendation on Swing book? (Claude Coulombe)
----------------------------------------------------------------------
Message: 1
Date: Fri, 29 Dec 2006 01:41:17 +0100
From: Stephen Winnall <email@hidden>
Subject: Re: Recommendation on Swing book?
To: java dev <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
I have seen references to "Desktop Java Live" by Scott Delap: does
anyone have any feedback on this as a Swing guide?
Steve
---
Vimia GmbH
Postfach 163
8143 Stallikon
044 777 9782
On 28 Dec 2006, at 11:28, Dan Creswell wrote:
My personal favourite:
Swing - Second Edition, Robinson, Vorobiev - Manning
I recently did a heavy Swing project having done a lot previously with
AWT and the early versions of Swing and found this book to be very
useful. It really needs an even more in depth index but that's the
stumbling block of many a technical book (heck, to do it right the
index'd be as big as the content ;)
Dan.
Rick Genter wrote:
I'm beginning two Swing-based projects, one a cross-platform
application
and one an applet. I'm looking for a recommendation on a good book on
Swing; I've done Swing programming before, but for these projects
I'll
be diving much more heavily into some of the architectural issues,
such
as implementing custom components using UI delegates, models and
property change events. I'd like a book that covers not just the
*what*
of Swing, but the *why*.
Any recommendations appreciated: they don't have to be MacOS X- or
Eclipse-focused, but as that's my primary development platform, that
would be best :-). Thanks.
--
Rick Genter
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/stephen.winnall%
40vimia.com
This email sent to email@hidden
------------------------------
Message: 2
Date: Fri, 29 Dec 2006 12:08:15 +0900
From: Pixaden Java <email@hidden>
Subject: Netbeans Problem: Cannot create new project. Could not find a
safe DOM serializer
To: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
I'm new to Java and would like some help to get started.
When I try to create a new project in NetBeans I get the following
error: "java.io.IOException: Could not find a safe DOM serializer:
java.lang.NoSuchMethodException:
org.apache.xml.serialize.XMLSerializer.setNamespaces(boolean)".
The project directory is created but is empty.
I get this error in Net Beans 4.1 and 5.0. I am running OS X 10.3.9 on
a G4 iBook with Java 1.4.2.
I am following the tutorial at:
http://java.sun.com/docs/books/tutorial/getStarted/cupojava/
netbeans.html
At first I tried to run NetBeans 5.5 (for OS X 10.4) and may have also
downloaded and "installed" Java SE 6.0 Release 1 Developer Preview 6
(also for OS X 10.4) (!).
Notes (may not be of consequence):
1) I have added javax.jar under /Library/Java/Extensions so I can write
applets (requires javax.servlet).
2a) JavaBrowser (found under under /Developer/Applications/) does not
show javax.servlet
2b) JavaBrowser does not "serialize.XMLSerializer" under
"org.apache.xml".
2c) JavaBrowser does not show "serialize.XMLSerializer" under
"org.apache.xml". Nearest match is SerializableLocatorImpl under
"org.apache.xml.utils"
2d) JavaBrowser shows classpaths to files that do not seem to exist,
e.g. /System/Library/FrameWorks/JavaDirectToWeb.framework
My basic objective at the is to rewrite some JavaScript into a Java
applet. So far I have been able to compile basic applets in Terminal
but need more Java knowledge to achieve my goal.
Skill level: No experience under OS X. New to Java and Netbeans.
Proficient in PHP. Learnt OOP using Scheme in the 1990s. Also learnt
Fortran & Turbo Pascal.
Any help would be greatly appreciated.
------------------------------
Message: 3
Date: Thu, 28 Dec 2006 23:20:25 -0800 (PST)
From: ramakrishna rachakonda <email@hidden>
Subject: Configuring JBOSS & EJB container
To: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset="iso-8859-1"
Hi,
I'm new to Mac and need to configure the JBOSS server & EJB 3.0 to
deploy an application.
I have used jboss-4.0.4.GA & jboss-EJB-3[1].0_RC9 in Windows to
develop the application. Hope I can use the same in the Mac machine as
well.
Let me know how to set environment variables like JBOSS_HOME. Please
provide me any such useful info for configuring JBOSS in Mac.
Thanks a lot in advance,
Ram
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.apple.com/mailman/private/java-dev/attachments/20061228/
e8d54b3a/attachment.html
------------------------------
Message: 4
Date: Fri, 29 Dec 2006 00:26:24 -0800
From: "Jeremy E. Denton" <email@hidden>
Subject: Re: Recommendation on Swing book?
To: Stephen Winnall <email@hidden>
Cc: java dev <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
It's advanced subjects on SWING that I like. It also expands into
areas that aren't typically covered by Swing guides. I would highly
recommend it but it's more or less a companion book to a conventional
swing reference.
Jeremy
On Dec 28, 2006, at 4:41 PM, Stephen Winnall wrote:
I have seen references to "Desktop Java Live" by Scott Delap: does
anyone have any feedback on this as a Swing guide?
Steve
---
Vimia GmbH
Postfach 163
8143 Stallikon
044 777 9782
On 28 Dec 2006, at 11:28, Dan Creswell wrote:
My personal favourite:
Swing - Second Edition, Robinson, Vorobiev - Manning
I recently did a heavy Swing project having done a lot previously
with
AWT and the early versions of Swing and found this book to be very
useful. It really needs an even more in depth index but that's the
stumbling block of many a technical book (heck, to do it right the
index'd be as big as the content ;)
Dan.
Rick Genter wrote:
I'm beginning two Swing-based projects, one a cross-platform
application
and one an applet. I'm looking for a recommendation on a good
book on
Swing; I've done Swing programming before, but for these projects
I'll
be diving much more heavily into some of the architectural
issues, such
as implementing custom components using UI delegates, models and
property change events. I'd like a book that covers not just the
*what*
of Swing, but the *why*.
Any recommendations appreciated: they don't have to be MacOS X- or
Eclipse-focused, but as that's my primary development platform, that
would be best :-). Thanks.
--
Rick Genter
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/stephen.winnall%
40vimia.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden
------------------------------
Message: 5
Date: Fri, 29 Dec 2006 06:28:29 -0500
From: Chris Woods <email@hidden>
Subject: Re: Configuring JBOSS & EJB container
To: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=UTF-8; format=flowed
ramakrishna rachakonda wrote:
Hi,
I'm new to Mac and need to configure the JBOSS server & EJB 3.0 to
deploy an application.
I have used jboss-4.0.4.GA & jboss-EJB-3[1].0_RC9 in Windows to
develop the application. Hope I can use the same in the Mac machine as
well.
Let me know how to set environment variables like JBOSS_HOME. Please
provide me any such useful info for configuring JBOSS in Mac.
Hi Ram,
It sounds like you need an introduction to the fundamentals of using a
unix shell in Mac OS X. Take a look at the following documents - in
particular, "Appendix A" in the first link:
http://developer.apple.com/documentation/MacOSX/Conceptual/
OSX_Technology_Overview/index.html
http://developer.apple.com/referencelibrary/GettingStarted/GS_Java/
index.html
http://developer.apple.com/internet/java/enterprisejava.html
Good Luck,
Chris
------------------------------
Message: 6
Date: Fri, 29 Dec 2006 11:24:04 -0500
From: Scott Kovatch <email@hidden>
Subject: Re: SWT_AWT on 1.5.0_07 (DP1), selector not recognized
exceptions
To: Juerg Lehni <email@hidden>
Cc: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset="us-ascii"
Juerg,
I am running java from a native application, within which I invoke
the virtual machine through JNI.
I recently started experimenting with using SWT inside this native
app, which has worked pretty well. But when trying to embed AWT
components inside a SWT shell, I get weird exceptions since
updating to DP1:
Stacktrace: java.lang.RuntimeException: Non-Java exception raised,
not handled! (Original problem: *** +[NSView
bindNSWindowToHIView:hiView:]: selector not recognized)
at apple.awt.CHIViewEmbeddedFrame._nativeCreateHIView(Native Method)
at apple.awt.CHIViewEmbeddedFrame.<init>(CHIViewEmbeddedFrame.java:
28)
...
The problem here is that you are likely using WebKit to display a
WebView somewhere in your application, or you are using the SWT
Browser widget. If WebKit loads first, the SWT_AWT glue code will
fail due to a naming conflict in the Objective-C part of the
implementation. The AWT Carbon embedding code is based on HIWebView
from WebKit, and I incorrectly used some classes with the same name
but different interfaces.
This is a bug that I recently fixed -- the short term fix is to not
use WebKit and AWT embedding features of SWT at the same time.
Before embedding sort of worked, except for a crash when closing
windows.
I also fixed this as well. It's a separate problem.
Look for these fixes to show up in an upcoming release.
http://lists.apple.com/archives/java-dev//2006/Sep/msg00083.html
With the difference that there, the selector is called on
HIViewAdapter, not NSView.
The problem mentioned in the reply from Krista Miller is the same
bug. The original issue with NSEvent is unrelated.
Hope that helps, at least in the short term.
Scott
------------------
Scott Kovatch
Apple Computer
Java Runtime Classes
Cleveland Hts, OH
email@hidden
I am Scott Kovatch, and I approved this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.apple.com/mailman/private/java-dev/attachments/20061229/
82a1043b/attachment.html
------------------------------
Message: 7
Date: Fri, 29 Dec 2006 18:56:08 +0100
From: brunosm <email@hidden>
Subject: Re: Netbeans Problem: Cannot create new project. Could not
find a safe DOM serializer
To: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hello
IF JDK 6.0 is designed for OSX 10.4 you should not use it with your
sistem
Anyway, in my MAC OS JDK 6.0 sucks with netbeans 5.5 I came back to
5.0
until Apple release a better version for POWERPC
I dont understand why do you need the library "servlets" for writing
one
applet. This is the library for web servers, not for applets
If you are not able to set netbeans, you have more options
1) Xcode. It comes with mac osX and you can use it for developing in
java
2) JDeveloper. The Oracle java tools
3) Eclipse. The leader now.
If you can keep havin problems with max os you can mail me
Bruno
Pixaden Java wrote:
I'm new to Java and would like some help to get started.
When I try to create a new project in NetBeans I get the following
error: "java.io.IOException: Could not find a safe DOM serializer:
java.lang.NoSuchMethodException:
org.apache.xml.serialize.XMLSerializer.setNamespaces(boolean)".
The project directory is created but is empty.
I get this error in Net Beans 4.1 and 5.0. I am running OS X 10.3.9 on
a G4 iBook with Java 1.4.2.
I am following the tutorial at:
http://java.sun.com/docs/books/tutorial/getStarted/cupojava/
netbeans.html
At first I tried to run NetBeans 5.5 (for OS X 10.4) and may have also
downloaded and "installed" Java SE 6.0 Release 1 Developer Preview 6
(also for OS X 10.4) (!).
Notes (may not be of consequence):
1) I have added javax.jar under /Library/Java/Extensions so I can
write applets (requires javax.servlet).
2a) JavaBrowser (found under under /Developer/Applications/) does not
show javax.servlet
2b) JavaBrowser does not "serialize.XMLSerializer" under
"org.apache.xml".
2c) JavaBrowser does not show "serialize.XMLSerializer" under
"org.apache.xml". Nearest match is SerializableLocatorImpl under
"org.apache.xml.utils"
2d) JavaBrowser shows classpaths to files that do not seem to exist,
e.g. /System/Library/FrameWorks/JavaDirectToWeb.framework
My basic objective at the is to rewrite some JavaScript into a Java
applet. So far I have been able to compile basic applets in Terminal
but need more Java knowledge to achieve my goal.
Skill level: No experience under OS X. New to Java and Netbeans.
Proficient in PHP. Learnt OOP using Scheme in the 1990s. Also learnt
Fortran & Turbo Pascal.
Any help would be greatly appreciated.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden
------------------------------
Message: 8
Date: Fri, 29 Dec 2006 13:56:33 -0500
From: Claude Coulombe <email@hidden>
Subject: Re: Recommendation on Swing book?
To: Rick Genter <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Greetings Rick,
--- Reference
Java Swing, 2nd Edition
By M. Loy, R. Eckstein, D. Wood, J. Elliott, B. Cole
O'Reilly Editor
2002
As a general Swing reference, this book is very good.
This book gives all the details of Java Swing API.
Mac OS X coverage and examples
But no AWT stuff and lack of info on the layout managers.
More a reference than a tutorial.
--- Tutorial
If you need a good tutorial, you might want to read the chapter on
Swing in Core Java.
Core Java 2, Volume II -- Advanced Features (7th Edition)
by C. Horstmann, G. Cornell
Prentice Hall
2004
--- Advanced tips & tricks
Swing Hacks
Tips and Tools for Killer GUIs
By J. Marinacci, C. Adamson
O'Reilly Editor
2005
Could help your application stands out among the crowd.
But some tricks are just silly things, only there to prove it could
be done.
Hope this could help!
Claude Coulombe
------------------------------
_______________________________________________
Java-dev mailing list
email@hidden
http://lists.apple.com/mailman/listinfo/java-dev
End of Java-dev Digest, Vol 3, Issue 521
****************************************