It'd be a punch in the face if the program also included some sort of statement about that with a single java client, there's no need to do separate versions for each OS like Google does... :)
java apps can feel snappy sometimes. but often the first time you hit
a menu item it takes forever to come up. Or if you leave an app
running, leave for another task and come bask - it takes quite a while
to become responsive again. also, garbage collection pauses are
annoying.
Squirrel is pretty snappy and if you change the look and feel from the default, not too ugly. Ricoh's InfoPrint Manager has an ugly but quick Swing client. My last company has various ugly but quick Swing CCTV playback applications.
I wrote a network simulator that was less ugly, and snappy. I wrote a tiny app that verifies MD5 sums so that non-technical staff could run quality checks on files being loaded onto hardware just before shipping, and got asked whether it was really in Java as it was fast and tiny.
All that's not to say that the Swing-slow statements are unfounded. It just takes some effort to make sure things are fast. I remember loading a date picker at startup just because the classloading delay was visible if that was left to when the user wanted it. Not a large delay, just visible.
Another part of the story is background tasks, which hopefully just improved in Java 7 with SecondaryLoop. I'm looking forward to trying that out.
All that's not to say that the Swing-slow statements are unfounded.
I can't comment on JavaFX of course, never looked at it.
I remember being very disappointed when I first looked at Java for
writing desktop UIs. It was a huge step backwards from all the
lessons learned from Delphi and VB in the 90s. No properties, no
events, layout hell, overly complicated APIs.
It's like the engineers at Sun didn't even look at what others had done.
It's 2012 and it's still much faster and easier to write a client in
Delphi circa 1997 than Java Swing.
I can't comment on JavaFX of course, never looked at it.
This is not true as most Java developers know that Swing is pretty old.
BTW, getting back to the original Phil's statement, apart from the fact
that you can have properties in the language with an annotation processor,
I'd like to know what does he mean with "no events". One of the problems
of Swing is perhaps that there are too many (kinds of) events.
--
You received this message because you are subscribed to the Google Groups "The Java Posse" group.
To post to this group, send email to java...@googlegroups.com.
To unsubscribe from this group, send email to javaposse+unsubscribe@googlegroups.com.
I think it's difficult nowadays to have wide consensus on this. An
annotation is a first-class construct and it's Java's way to be enhanced.
In Scala events are pretty elegant when I look at Akka, but as I
understand they are not baked into the language; they are implemented on
the top of DSL-like flexibility that Scala offers (including operator
overloading). To me it's precisely what Java does, even though it's a
rougher (?) approach of course.
To me in the end the important part is that syntax is clear, semantics are
precise and I don't have to do something strange to have it working.
Putting a jar in the classpath it's not strange.
--
You received this message because you are subscribed to the Google Groups "The Java Posse" group.
To post to this group, send email to java...@googlegroups.com.
To unsubscribe from this group, send email to javaposse+...@googlegroups.com.
Libraries don't cause problems for autocompletion.
--
You received this message because you are subscribed to the Google Groups "The Java Posse" group.
To post to this group, send email to java...@googlegroups.com.
To unsubscribe from this group, send email to javaposse+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
I don't know, I haven't tried for a couple of years.
If/when autocomplete works for all Scala features it'll work for all libraries. The same is not true for magic like Lombok.
--
You received this message because you are subscribed to the Google Groups "The Java Posse" group.
To post to this group, send email to java...@googlegroups.com.
To unsubscribe from this group, send email to javaposse+unsubscribe@googlegroups.com.
sendButton.addMouseListener(clickListener);
sendButton.onClick += clickHandlerFn
scrollBar.value ==> progressBar.value
--
You received this message because you are subscribed to the Google Groups "The Java Posse" group.
To post to this group, send email to java...@googlegroups.com.
To unsubscribe from this group, send email to javaposse+unsubscribe@googlegroups.com.
sendButton.addMouseListener(clickListener);
Or better still, there's another exciting new paradigm on the horizon:
Right, it's an object. Java doesn't have methods as first class values. You'll find my name on the First Class Methods proposal from 2008 or so. I agree but don't think adding a new kind of type and syntax just for events is flexible enough.
I'm not sure how we got from method pointers to closures, but of the top 5 C, C++, Objective-C and C# all have some form of method/function pointer, leaving Java as the odd one out.
If you go for closures, C has them with compiler extensions, the latest version of the C++ has them, Objective-C now has blocks and C# has lambdas. Of the top 5, Java's equivalent, anonymous classes, is the most verbose and distracting.
That said, when I use C# I do actually miss anonymous classes, just not for those that contain a single-method.
--
You received this message because you are subscribed to the Google Groups "The Java Posse" group.
To view this discussion on the web visit https://groups.google.com/d/msg/javaposse/-/uve_FAZ3ccMJ.
BTW: Tiobe ... seriously?
No, because Google is on a crusade against Java.
In fact, they removed
their perfectly functional and useful J2ME GMail application from
their servers.
Even BlackBerry (well, RIM) are going to leave Java behind, though I have to say what Google did is awful for people stuck on a J2ME device for the forseeable future.
At least gmail does IMAP so there'll always be an alternative.
--
You received this message because you are subscribed to the Google Groups "Java Posse" group.
> Perhaps in our countries, where we spend big $$ on "smart" phones this may be so...but we aren't the majority of phone users globally.I know that here in Argentina a lot of people prefer Blackberrys to at
least medium-line Android phones, but more out of habit than anything,
and the collective noun for smartphones seems to be 'Blackberrys', no
matter the manufacturer or OS. Which throws me every time.
In fact when I got my Samsung device it was 2/3 the price of the
cheapest Android, bought on a contract, despite to my eyes at least,
being 100 times better, so I guess either they can't sell Android
devices and push the price down to get rid, or they push the
BlackBerry prices up according to demand, or a combination of both.
Whole groups of friends organise events using BlackBerry Messenger,
and people relying on the cross-manufacturer equivalent, WhatsApp,
often find themselves missing some information.
I'm not sure RIM should even try to compete with Apple and Android
like-for-like. Something new is needed, such as those magical
unfolding screens that always seem to be in the late prototype phases,
decent quality speakers on which bass can actually be heard, tactile
feedback from the screen so you can feel the edge of a button, more
accurate touch (fingernail?) so that UIs don't have to have comically
large buttons to be reliable, etc.
Hah, people playing music on the bus isn't so much of a problem here as a) it doesn't happen so much b) the music they play is better. :)
--
You received this message because you are subscribed to the Google Groups "Java Posse" group.
To post to this group, send email to java...@googlegroups.com.
To unsubscribe from this group, send email to javaposse+unsubscribe@googlegroups.com.
So, why not releasing it to the open source?It's not open source.
You know what would be a good PR boost for Java on the client? A java
UI that didn't feel sluggish. Been 15+ years and I'm still waiting
for a speedy Java UI.
On Sun, Apr 29, 2012 at 7:51 PM, Fernando Cassia <fca...@gmail.com> wrote:
> Given this
> http://www.pcworld.com/businesscenter/article/254488/google_drive_for_linux_is_on_the_way.html
>
> It would be a great PR boost for Java if someone quickly coded a Google
> Drive client for Linux, so that it becomes availabel BEFORE the official
> release :)
>
> I imagine something using Java6+ APIs like docking to systray....
>
> In fact, there's something done in Java to upload docs to google accounts...
> http://code.google.com/p/google-docs-upload/
>
> And here
> http://sourceforge.net/projects/upthesync/
>
> Something about mounting a filesystem from Java could probably be borrowed
> from here
> http://mudslide.sourceforge.net/
>
> or here
> http://sourceforge.net/projects/gdatafs/
> "Gdatafs is a FUSE implementation that mount your account at google's
> picassa web to your filesystem. The filesystem support ful read/write and
> delete of album and photos."
>
> Please ... someone better than me at coding (or with more time)... let's
> show Gurgle where Java excels... network-centric applications.
>
> It'd be great to show Google that a single Java app is better than several
> native apps, one for each OS they want to support.... also a good way to
> give Linux users a reason to install OpenJDK...
>
> It'd be a punch in the face if the program also included some sort of
> statement about that with a single java client, there's no need to do
> separate versions for each OS like Google does... :)
>
> Just my $0.02
> FC
> --
> During times of Universal Deceit, telling the truth becomes a revolutionary
> act
> - George Orwell
>
> --
> You received this message because you are subscribed to the Google Groups
> "The Java Posse" group.