how are Java GUI apps being used these days?

G

Guest

Roedy Green said:
that is also true of any other complex windowing system. It is just
that you notice it more when the library runs in your own address
space.

I suspect you are correct, but leveraging native widgets helps amortize
the cost, which is why I think it would have been a superior approach
for Sun to take. JVM's which share a lot of global data may achieve the
same effect, but I don't think I've had the pleasure of using any JVM's
that have this feature.
Have you checked the price of RAM lately? This is not the issue it was
even 5 years ago.

I agree.
Why don't you TRY Jet and see just how small things can get.

See http://mindprod.com/jgloss/jet.html

Here are some examples:

command line program (the replicator sender portion): jar=64,585,
exe=289,280

awt program (Amazon book refer): jar= 64,585, exe=93,184

swing program ( Cyberview Plus multi-security cameras): jar= 502,767,
exe=605,696

Jet looks like a remarkable package.
 
G

Guest

Roedy Green said:
Even if there were no decent JVMs or native compilers you still are
incorrect is saying the LANGUAGE Java has such and so problem. It does
not. The JVMs do.

But I never said the language was the problem - please re-read the thread.
You could only say that if you could show that there is no possible
way to write an efficient JVM because of something about the design of
the language.

You have not done that. You sound like JTK's little brother.

Again, I think you must have mistaken me for another poster. I think
Java the language is very nice and can be optimized very well.

I blame most Swing application issues on the Swing library - not the
underlying language in which it was implemented.
Try out Jet. Check out JDK 1.5. It might blast some of the cobwebs
out of your mind about how Java HAS to be.

See http://mindprod.com/jgloss/jet.html

I can't use JDK 1.5 for a variety of reasons, so I don't want to torture
myself by evaluating it and not being able to leverage it in my day to day
programming. The new features are so damned tantalizing... :)
 
D

Digital Puer

Mark Preston said:
Its called "making a wild assumption". He / She almost certainly has and
equally certainly wouldn't recognise them if they hit him / her on the
head with a bat...


Seriously though, if you walk through Fry's Electronics (here in the
States) or browse through Amazon.com, what shrink-wrapped consumer
software will you find that was written in Java?

I have nothing against Java, I just would like to know where Swing is
predominantly used. If it's in-house projects or horizontal markets,
that's perfectly cool with me.
 
R

Ramon F Herrera

Seriously though, if you walk through Fry's Electronics (here in the
States) or browse through Amazon.com, what shrink-wrapped consumer
software will you find that was written in Java?

I have nothing against Java, I just would like to know where Swing is
predominantly used. If it's in-house projects or horizontal markets,
that's perfectly cool with me.

I would never use or recommend Java for a shrink-wrapped consumer
software. It is great for GUIs -with Swing, of course- (I haven't tried
it on the server side yet) and what I like the best about it is that
it gives you freedom from Microsoft.

-Ramon
 
R

Roedy Green

I would never use or recommend Java for a shrink-wrapped consumer
software. It is great for GUIs -with Swing, of course- (I haven't tried
it on the server side yet) and what I like the best about it is that
it gives you freedom from Microsoft.

If you are concerned about the user mucking up the JVM, you can
natively compile. Then all you give the user is a single EXE file. It
is no different then from any other shrink wrap program.

see http://mindprod.com/jgloss/nativecompiler.html
 
A

Andrew Thompson

If you are concerned about the user mucking up the JVM,

<pun style='level: bad'>
Well come on Roedy, that would NEVER happen.

It's like saying "the user had 1.4 but
installed 1.5 to try it, then tried to go
back to 1.4 but all the registry settings
got muddled".

You spin some good ones.. ;-)
</pun>
 
F

FISH

[email protected] (Digital Puer) wrote in message news: said:
Seriously though, if you walk through Fry's Electronics (here in the
States) or browse through Amazon.com, what shrink-wrapped consumer
software will you find that was written in Java?

True, but then you didn't find products like Napster or Netscape
shrink-wrapped in the shops either, and look how popular they were
during their peek.

Off the top of my head I can think of three reasons why JVM-targeted
software doesn't tend to come shrink wrapped...

1) Thanks to various legal disputes and associated shenanigans by one
or two blue-chip tech companies (naming no names) the JVM has never
really gotten the coverage on out-of-the-box PC's it deserved. Apple's
decision to include Java as standard, coupled with some politicking
by Sun on the PC front, and the introduction of JWS, hopefully will
solve that - in time!

2) Java is very much a network-centric technology. As with apps like
Napster, Opera, Mozilla, Real Player, ICQ, etc... when the focus of
your software is utilising networks, the prefered distribution method
tends to be downloading instead of manufactured 'hard' media.

3) As an extension of (2), Java software tends to be quite compact
from a 'disk space' point of view (obviously it depends upon the app
and its associated data files) and so this makes Java apps even more
attractive for download style distribution, rather than alternative
methods which require manufacturing.

I have nothing against Java, I just would like to know where Swing is
predominantly used. If it's in-house projects or horizontal markets,
that's perfectly cool with me.

It wouldn't surprise me at all if there were more GUI apps running
on mobile/cell phones today than on desktops. Of course, MIDP does
not use Swing. Swing's main market right now seems to be niche
applications and utilities, and client interfaces which interact with
other Java software on the server side. But Swing seems (and I am
basing this entirely on my own UNSCIENTIFIC anecdotal observations)
to be slowly building some support.

A few months back I went into a meeting with some academic types to
develop a core component of a large-scale project (seven figure budget
kind of thing) for working with QTI data - the XML schema for academic
assessments. I preposed a Java/Swing solution, which my bosses were a
very nervous about (they insisted two alternative implementations be
outlined in the preposal document, one web-based and the other a native
Windows app). Despite outlining the pros and cons, the clients went
for the Java plan. So far the feedback to the pre-release versions they
have seen and used has been extremely positive - and management here
is telling everyone how they knew this was the right plan all along.

I recently got contacted by some guy about my SourceForge project:
jYMSG. Due to the lack of decent Y! Messenger on anything but the
Windows platform, he is building a YM clone using my lib - including
web cam and voice support. If he can get this to work, then his Java
version will be superior to the official Yahoo offerings.

Okay, neither of these are 'shrink wrap' apps. Indeed they fall into
the niche software category that I mentioned above. But it seems to
me (again, anecdotal) that there is a little more willingness now to
commit to Java desktop/Swing development than there has been in the
past. I'm not suggesting Swing is flavour of the month... just that
it is starting to slowly build some credability.

As a kind of a footnote, I'd like to add that I think the biggest
threats to Java's future success on the desktop come from Sun's own
inability to create an easy/flexible way to get Java software to start
from a double click (even with the -jar option!). And all too often
other software gets in the way - like people getting confused by MS's
redundant 1.1 JVM still lurking around on their Windows installation,
and archive software (ie. Power Archiver) which steal the .jar file
type for themselves (does it still do this, because old version used
to!?!!)


-FISH- ><>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top