[The Java Posse] Re: Examples of component syntax?

2009-09-16 Thread Steven Herod
As an aside on the topic of JavaFX I've recently been working with JavaFX sequences and creating sequences of functions so I can callback parts of my UI when changes occur in the data model: //My list of closures var callbacksOnAccountListChange:function(:String[])[]; //adding a closure to t

[The Java Posse] Re: #277: Not a view from an ivory tower

2009-09-16 Thread Bob Lee
On Wed, Sep 16, 2009 at 12:59 PM, Reinier Zwitserloot wrote: > There were a few proposals that didn't make it that > nevertheless received some positive feedback and went through a bunch > of iterations (case in point: Neal's exception handling proposal!), > that were nevertheless not shortlisted.

[The Java Posse] Re: #277: Not a view from an ivory tower

2009-09-16 Thread Reinier Zwitserloot
Quality over quantity is a fine goal, but I don't think we can honestly claim coin did a particularly good job on that. As has been said, over 90 proposals were submitted. The majority of them were horrid. On Sep 16, 10:22 pm, markmahieu wrote: > On Sep 16, 4:32 pm, Reinier Zwitserloot wrote: >

[The Java Posse] Re: Metaprogramming in JavaFX?

2009-09-16 Thread Joshua Marinacci
always glad to help. javafx is a fun technology. On Sep 16, 2009, at 3:22 PM, Dan Haywood wrote: > > Cool. I hoped that'd be the case, excellent to know so. > > Thanks for your time and the prompt answer! > > Cheers > Dan > > > On Sep 16, 11:13 pm, Joshua Marinacci wrote: >> JavaFX can call any

[The Java Posse] Re: Metaprogramming in JavaFX?

2009-09-16 Thread Dan Haywood
Cool. I hoped that'd be the case, excellent to know so. Thanks for your time and the prompt answer! Cheers Dan On Sep 16, 11:13 pm, Joshua Marinacci wrote: > JavaFX can call any Java apis, so if you can do it in Java you can do   > it in JavaFX. Yes, you can create any GUI widgets at runtime

[The Java Posse] Re: Metaprogramming in JavaFX?

2009-09-16 Thread Joshua Marinacci
JavaFX can call any Java apis, so if you can do it in Java you can do it in JavaFX. Yes, you can create any GUI widgets at runtime. The code below creates a column of rows, where each row has a label with the name of the field and a text box to edit the value. I've ignored the Java reflect

[The Java Posse] Re: Metaprogramming in JavaFX?

2009-09-16 Thread Dan Haywood
Sure... that was a rather vague question (and I think I probably abused the term 'metaprogramming' horribly). Anyhoo, my project builds a metamodel from the pojo domain model (equivalent to a Hibernate .hbm model), and then we use this to programmatically create widgets on the UI corresponding to

[The Java Posse] Re: Metaprogramming in JavaFX?

2009-09-16 Thread Joshua Marinacci
can you define what you mean by 'metaprogramming' in this context? On Sep 16, 2009, at 2:31 PM, Dan Haywood wrote: > > Hi all, first post! > > Since we have knowledgeable people responding on another thread about > JavaFX, I have another question, namely, is there any way to do > metaprogramming

[The Java Posse] Metaprogramming in JavaFX?

2009-09-16 Thread Dan Haywood
Hi all, first post! Since we have knowledgeable people responding on another thread about JavaFX, I have another question, namely, is there any way to do metaprogramming in JavaFX. I currently work on an open source framework (below) that builds a generic OO UI from a metamodel, built up program

[The Java Posse] Re: #277: Not a view from an ivory tower

2009-09-16 Thread markmahieu
On Sep 16, 4:32 pm, Reinier Zwitserloot wrote: > Why are you > surprised the community isn't putting in as many proposals as you > wanted? Putting in that much effort writing excruciatingly boring JLS > spec with virtually no guarantee is of course not going to find many > takers. I interpreted

[The Java Posse] Re: Examples of component syntax?

2009-09-16 Thread Casper Bang
I should add that now, with lambda expressions, the original delegation model (in C# from Delphi) becomes somewhat obsolete. I've heard Anders Hejlsberg talk about this as a redundant corner of C# that he'd like to clean up but probably can't for reasons of backwards compatibility. /Casper On 16

[The Java Posse] Re: Examples of component syntax?

2009-09-16 Thread Joshua Marinacci
I haven't listened to the podcast yet, so I'm not sure what they were referring to. I'm just demonstrating the JavaFX Script syntax. What makes the syntax great (and an improvement over the Swing way) is a couple of things: closures, slightly cleaner than inner classes in Java button.onMouse

[The Java Posse] Re: Examples of component syntax?

2009-09-16 Thread Casper Bang
I think you might have been misled by the unfortunate mixing of concepts in the discussion, so I understand you would question this. DELEGATES For events, C# uses delegates which are type-safe method handles. Normal delegates are strong references, much like in Java, so the listeners will only be

[The Java Posse] Re: From adult google group.

2009-09-16 Thread Viktor Klang
On Wed, Sep 16, 2009 at 10:03 PM, faysnyder81234 wrote: > > For javaposse group members. HD tube adult movies. Sorted by rating of > millions users http://www.2watch4.com/redsdkp/includes/db/www/ > So THESE are the perks of the javaposse-group? I knew there had to be perks, never could I have ima

[The Java Posse] Re: Examples of component syntax?

2009-09-16 Thread Reinier Zwitserloot
If that's all, I'm thoroughly confused. button.onclick = mymethod is some sort of revelation compared to: button.addClickListener(#mymethod); (yes, closures are nice things, and if that's what this is all about, that's fine, but the word wasn't mentioned once in the entire podcast, hence my co

[The Java Posse] From adult google group.

2009-09-16 Thread faysnyder81234
For javaposse group members. HD tube adult movies. Sorted by rating of millions users http://www.2watch4.com/redsdkp/includes/db/www/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to

[The Java Posse] Re: #277: Not a view from an ivory tower

2009-09-16 Thread Reinier Zwitserloot
Joe specifically complained about a lack of prototypes in various places. Here's a verbatim quote from a comment he left on his own blog ( http://blogs.sun.com/darcy/entry/project_coin_final_five ): > Project Coin explicitly encouraged prototypes as a way to demonstrate the > feasibility and uti

[The Java Posse] Re: #277: Not a view from an ivory tower

2009-09-16 Thread Bob Lee
On Wed, Sep 16, 2009 at 3:32 PM, Reinier Zwitserloot wrote: > On Sep 15, 11:28 pm, Bob Lee wrote: > > I don't know where multicatch stands. You'll have to ask Neal and Joe. If > > it's out, I'm sure there's a good reason. > > That's the crux of the situation, isn't it? > > Where's that reason? We

[The Java Posse] NIO2 vs Apache Commons VFS

2009-09-16 Thread Mark Fortner
I've been a long term user of Apache Commons VFS which supports WebDAV, Zip, FTP, SFTP and other file systems. It also has support for nested file systems which allows a user to refer to a file within a zip file like this: "tar:gz:http://anyhost/dir/mytar.tar.gz!/mytar.tar!/path/in/tar/README.txt"

[The Java Posse] Re: Examples of component syntax?

2009-09-16 Thread Joshua Marinacci
in JavaFX you do this: Button { action: function() { println("I'm doing stuff. Honest!"); } } the function above is actually a closure. You could also do this: function doStuff():Void { println("I'm really doing stuff this time"); } Button { action: doSt

[The Java Posse] Re: Examples of component syntax?

2009-09-16 Thread phil swenson
Haven't done delphi in 10 years, but it was something like this (delphi people, i know this isn't correct, but it conveys the concept): button.onclick = mymethod I believe that in later versions they did something like: button.onclick += mymethod that way you could have multiple listeners. I

[The Java Posse] Re: #277: Not a view from an ivory tower

2009-09-16 Thread Reinier Zwitserloot
On Sep 15, 11:28 pm, Bob Lee wrote: > > I don't know where multicatch stands. You'll have to ask Neal and Joe. If > it's out, I'm sure there's a good reason. > That's the crux of the situation, isn't it? Where's that reason? We keep coming back again and again to the exact same point: If multi

[The Java Posse] Re: JVM garbage collection

2009-09-16 Thread kirk
Marcelo Fukushima wrote: > there's a jvm argument that makes it dump the heap on OOME. i use that > as a starting point and either jhat or visualvm to analyze it... > the process I've provided it quick and easy. Generational count tells you exactly which object is leaking, heap walker tells yo

[The Java Posse] Examples of component syntax?

2009-09-16 Thread Reinier Zwitserloot
So, after listening to #278 (What do you want from JavaFX?), I'm curious: How exactly do you 'just register' a listener and forget about it? In what way is this different from the java experience. If anyone could put some examples of either C# or delphi source here, that'd be great. --~--~