comp.lang.java.programmer
http://groups-beta.google.com/group/comp.lang.java.programmer
[EMAIL PROTECTED]

Today's topics:

* Countdown thread resume problem - 1 messages, 1 author
 
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/bf9c85ee37bd60d6
* Empty table cell w/Struts - 4 messages, 4 authors
 
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/546457fbdc3ab22e
* A Record Class Type: Bad Style? - 1 messages, 1 author
 
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/c123108701741bdf
* Java Driven Left Nav Menu Question - Please Help! - 2 messages, 2 authors
 
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/cd719ecb5a5e4fba
* hey i am new to this - 1 messages, 1 author
 
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/1037fd04428c23dc
* struts - opening new sized window - 1 messages, 1 author
 
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/5323c441b16e075b
* bean instantiation and persistence question - 2 messages, 2 authors
 
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/f9b427b917a53a04
* Unable to have tags within tags?? - 3 messages, 2 authors
 
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/d0b216afc2658f5c
* JSF - 4 messages, 4 authors
 
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/3dd2a1c96852650b
* GMail - 1 messages, 1 author
 
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/8c7ea8aeb68bc1b4
* Laptop with Websphere - 2 messages, 2 authors
 
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/6926ee85fd956588
* how to resize a array? - 1 messages, 1 author
 
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/d5ed97c9d7b81add
* JBoss to go closed source? - 1 messages, 1 author
 
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/4a8dda54906ca8df
* JOptionPane need help - 1 messages, 1 author
 
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/36266b3b6005d47a

==============================================================================
TOPIC: Countdown thread resume problem
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/bf9c85ee37bd60d6
==============================================================================

== 1 of 1 ==
Date: Tues, Nov 30 2004 5:35 pm
From: Andrew Thompson  

On 30 Nov 2004 08:41:05 -0800, [EMAIL PROTECTED] wrote:

> Well, I figured it out. 

That's the ticket..

>..I did not synchronize the thread properly...

..thanks for reporting the solution as well (a lot of people forget).

> Anyway, thanks for willingness to help. And I will bookmark the SSCCE
> page. :-)
> Thanks once again!

You're welcome.

-- 
Andrew Thompson
http://www.PhySci.org/codes/  Web & IT Help
http://www.PhySci.org/  Open-source software suite
http://www.1point1C.org/  Science & Technology
http://www.LensEscapes.com/  Images that escape the mundane




==============================================================================
TOPIC: Empty table cell w/Struts
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/546457fbdc3ab22e
==============================================================================

== 1 of 4 ==
Date: Tues, Nov 30 2004 5:36 pm
From: [EMAIL PROTECTED] (Mike) 



I have an empty string going into a table cell. How can I get the
browser to show a border at that location?

I have:


<td><bean:write name="result" property="home_Score"/></td>


where "home_Score" = ""



== 2 of 4 ==
Date: Tues, Nov 30 2004 5:49 pm
From: Andrew Thompson  

On Tue, 30 Nov 2004 17:36:22 GMT, Mike wrote:

> I have an empty string going into a table cell. How can I get the
> browser to show a border at that location?

FireFox/Mozilla/Netscape, Opera, Safari & Konquerer do show a border
for an empty table cell.  Wait a second, ..you're not referring to 
your OS component are you?

If you *are* talking about IE, then AFAIR, the only way to get 
it to display a border is to write &nbsp; (non-breaking space) to
the table cell.

HTH

-- 
Andrew Thompson
http://www.PhySci.org/codes/  Web & IT Help
http://www.PhySci.org/  Open-source software suite
http://www.1point1C.org/  Science & Technology
http://www.LensEscapes.com/  Images that escape the mundane



== 3 of 4 ==
Date: Tues, Nov 30 2004 5:49 pm
From: "Ann"  


"Mike" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
>
> I have an empty string going into a table cell. How can I get the
> browser to show a border at that location?
>
> I have:
>
>
> <td><bean:write name="result" property="home_Score"/></td>
>
>
> where "home_Score" = ""

Use "&nbsp;" instead of ""





== 4 of 4 ==
Date: Tues, Nov 30 2004 3:13 pm
From: Sudsy  

Mike wrote:
> I have an empty string going into a table cell. How can I get the
> browser to show a border at that location?
> 
> I have:
> 
> 
> <td><bean:write name="result" property="home_Score"/></td>
> 
> 
> where "home_Score" = ""

Add a non-blanking space at the end, i.e.  
If you want to get fancy with JSTL (the EL version) then you can
do something like this:

<td>
<c:choose>
<c:when test="${! empty result.home_Score}">
<c:out value="${result.home_Score" />
</c:when>
<c:otherwise>
 
</c:otherwise>
</c:choose>
</td>

-- 
Java/J2EE/JSP/Struts/Tiles/C/UNIX consulting and remote development.





==============================================================================
TOPIC: A Record Class Type: Bad Style?
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/c123108701741bdf
==============================================================================

== 1 of 1 ==
Date: Tues, Nov 30 2004 5:38 pm
From: "Ann"  


"George W. Cherry" <[EMAIL PROTECTED]> wrote in
message news:[EMAIL PROTECTED]
>
> "Ann" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > <snip>
> >> I didn't intend to appear to diss your suggestion.
> >> Indeed, I think it has merit. My problem with returning
> >> an int array is that the user does not know which values
> >> int[0], int[1], and int[2] refer to.
> >
> > I'm sort of jumping into this discussion in the middle
> > but it seems to me that if you provide a method and the
> > user doesn't know what is returned that s/he would have
> > little incentive to invoke it.
>
> Indeed. The problem is that the user knows that the
> method returns the number of vowels, the number of
> consonants, and the number of other characters in
> the supplied string, but wouldn't know which element
> of the returned array referred to which count.
>

Since you are the program author, you can tell her on the phone.






==============================================================================
TOPIC: Java Driven Left Nav Menu Question - Please Help!
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/cd719ecb5a5e4fba
==============================================================================

== 1 of 2 ==
Date: Tues, Nov 30 2004 5:42 pm
From: "Ann"  


<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello Java experts,
>
> This question concerns the attempted implementation of animated navigation
> menus on the left nav of a dynamically populated page/website. The left
nav
> menus are simply categories and sub-categories that expand to the right on
> mouse over. A click is required to actually navigate to either the 1st,
2nd,
> or 3rd tier of menu categories.
>
> I have a fundamental question to ask of you learned Java programmers. If
> Java is being used to load animated navigation menus on the left nav
column
> how much control over the load delay is there?

Me thinks it is all done with JavaScript, not Java.





== 2 of 2 ==
Date: Tues, Nov 30 2004 6:01 pm
From: Andrew Thompson  

On Tue, 30 Nov 2004 17:42:47 GMT, Ann wrote:

(snip)
> Me thinks it is all done with JavaScript, not Java.

Funny you should say that. [1]
<http://groups.google.com/[EMAIL PROTECTED]>
[Note that post had not even appeared on Google at the time I posted this.]

As well as part of the reason I requested an URL..
<http://groups.google.com/[EMAIL PROTECTED]>
..before I put the message on this thread requesting the OP 
refrain from multi-posting, as that leads to ..duplicated 
effort and advice[1].  ;-)

-- 
Andrew Thompson
http://www.PhySci.org/codes/  Web & IT Help
http://www.PhySci.org/  Open-source software suite
http://www.1point1C.org/  Science & Technology
http://www.LensEscapes.com/  Images that escape the mundane




==============================================================================
TOPIC: hey i am new to this
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/1037fd04428c23dc
==============================================================================

== 1 of 1 ==
Date: Tues, Nov 30 2004 5:45 pm
From: "Ann"  


"Bruno Grieder" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Greg Smith wrote:
> >>But since I have your attention, please locate your Shift Key*
> >>and type capital letters for the beginning of sentences, the word
> >>'I' and proper names like 'Tamer' and 'Java'.  You are likely to
> >>get better responses if you take effort to make your posts easy to read.
> >
> >
> > it has become very common on the internet not to use capital letters.
> > the fact is that it is faster to type and offers no loss in
> > readability. i had no trouble reading the posting and i've never been
> > critcized for my lack of caseness in my writings. surely, to complain
> > about lack of case in emails or postings is akin to insisting on
> > proper grammer and spelling in an instant message.
>
> I agree. It has become very common to show stupidity and be proud of it.
> Unfortunately.
>
> Bruno

I missed something, who exactly is stupid?






==============================================================================
TOPIC: struts - opening new sized window
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/5323c441b16e075b
==============================================================================

== 1 of 1 ==
Date: Tues, Nov 30 2004 12:49 pm
From: Sudsy  

Raycaster wrote:
<snip> The problem I have is I have an
> existing application ( client/server ) that users have been using for
> years and they are very reluctant to change so what I was doing was
> building the web app that looks and feels like what they are use to,
> but to be honest, that should not be a good reason so I am going to
> build it the "correct" way. <snip>

Good for you! Why some people feel that you have to duplicate a windows
app in Java is quite beyond me. Your users are not (typically) idiots!
They'll figure out the "new" way and, if you do it right, will likely
soon prefer it to the old way.

> Ok, one final question then, would it also be bad to, instead of
> opening up a popup window, to send the results to a different frame? As
> a web designer, I always hear how frames are bad, blah blah blah, but
> for the requirement mentioned in my previous post, I would like to
> display the "lookup" data below the current row.  The reason for this
> is because I want the user to be able to see the existing values for
> the record they are editing as they are picking a "lookup" value. I
> know how to do this, I am now asking if that is considered bad design
> to do this.

One mechanism I see used at a number of sites involves making a number
of trips back to the server to update pop-up menu selections. For example,
go to napaonline.com. After you select the vehicle year and make the
form is submitted and returns with a selection box containing all the
models corresponding to the specified year/make. In fact, if you look at
the source you'll find a form called yearmake_form which is submitted
once completed.
Since you're apparently creating an internal app, multiple trips to the
server shouldn't seriously impact performace. Plus it's more of a "work-
flow" approach, which I like.

-- 
Java/J2EE/JSP/Struts/Tiles/C/UNIX consulting and remote development.





==============================================================================
TOPIC: bean instantiation and persistence question
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/f9b427b917a53a04
==============================================================================

== 1 of 2 ==
Date: Tues, Nov 30 2004 8:55 am
From: Amy Johnson  

I have a JSP that is a form. The form data is supposed to be stored in a 
bean that I have set up as a session bean, then transfer to a servlet 
for processing. The servlet then forwards to another JSP with another 
form, and that goes to one of several JSPs. My problem is that, with the 
bean set up as a session bean, I can't seem to get the initial JSP to 
instantiate the bean. It doesn't happen until the servlet is called. Is 
there something I'm doing wrong, or is there a way around this?

Thanks

Amy




== 2 of 2 ==
Date: Tues, Nov 30 2004 3:28 pm
From: Sudsy  

Amy Johnson wrote:
> I have a JSP that is a form. The form data is supposed to be stored in a 
> bean that I have set up as a session bean, then transfer to a servlet 
> for processing. The servlet then forwards to another JSP with another 
> form, and that goes to one of several JSPs. My problem is that, with the 
> bean set up as a session bean, I can't seem to get the initial JSP to 
> instantiate the bean. It doesn't happen until the servlet is called. Is 
> there something I'm doing wrong, or is there a way around this?

Check out jsp:useBean. It will create an instance in the specified scope
if it doesn't already exist.

-- 
Java/J2EE/JSP/Struts/Tiles/C/UNIX consulting and remote development.





==============================================================================
TOPIC: Unable to have tags within tags??
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/d0b216afc2658f5c
==============================================================================

== 1 of 3 ==
Date: Tues, Nov 30 2004 9:56 am
From: [EMAIL PROTECTED] (Kwasi) 

This doesn't do it either Andrea..Thanks
Andrea Desole <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> how about quoting?
> 
> <input type="hidden" name="domainName" value='<c:out
> value="{requestScope.domainNm}"/>'/>
> 
> Kwasi wrote:
> > Chris, Thanks for the response..
> > Unfortunately, I'm using JSP 1.2 so this is at compile time (The
> > development tool is giving me problems). I'm not using any exotic
> > validators with my JSP.
> > I did have a typo in my snipet, It should read:
> > <input type="hidden" name="domainName" value="<c:out
> > value={requestScope.domainNm}>"/>
> > Is there a way to get around this with JSP 1.2? 
> > Chris Smith <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> > 
> >>Kwasi wrote:
> >>
> >>>I am using WSAD 5.1 and am having problems when compiling lines like
> >>>the following:
> >>><input type="hidden" name="domainName" value="<c:out
> >>>value={requestScope.domainNm}"> where c is defined as the jstl taglib
> >>
> >>What tool is giving you these errors?  Is it the WebSphere application 
> >>server at runtime, or some development tool such as a page validator?
> >>
> >>If your server implements JSP 2.0, you can simply do away with the 
> >>obsolete c:out tag, and write this instead:
> >>
> >><input type="hidden" name="domainName" value="${requestScope.domainNm}">
> >>
> >>
> >>I'm assuming that the mismatched quotes and brackets and such in your 
> >>example was a typo in your newsreader.  Copy and paste can prevent 
> >>confusion like this in the future.



== 2 of 3 ==
Date: Tues, Nov 30 2004 10:59 am
From: [EMAIL PROTECTED] (Kwasi) 

This doesn't do it either Andrea..Thanks
Andrea Desole <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> how about quoting?
> 
> <input type="hidden" name="domainName" value='<c:out
> value="{requestScope.domainNm}"/>'/>
> 
> Kwasi wrote:
> > Chris, Thanks for the response..
> > Unfortunately, I'm using JSP 1.2 so this is at compile time (The
> > development tool is giving me problems). I'm not using any exotic
> > validators with my JSP.
> > I did have a typo in my snipet, It should read:
> > <input type="hidden" name="domainName" value="<c:out
> > value={requestScope.domainNm}>"/>
> > Is there a way to get around this with JSP 1.2? 
> > Chris Smith <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> > 
> >>Kwasi wrote:
> >>
> >>>I am using WSAD 5.1 and am having problems when compiling lines like
> >>>the following:
> >>><input type="hidden" name="domainName" value="<c:out
> >>>value={requestScope.domainNm}"> where c is defined as the jstl taglib
> >>
> >>What tool is giving you these errors?  Is it the WebSphere application 
> >>server at runtime, or some development tool such as a page validator?
> >>
> >>If your server implements JSP 2.0, you can simply do away with the 
> >>obsolete c:out tag, and write this instead:
> >>
> >><input type="hidden" name="domainName" value="${requestScope.domainNm}">
> >>
> >>
> >>I'm assuming that the mismatched quotes and brackets and such in your 
> >>example was a typo in your newsreader.  Copy and paste can prevent 
> >>confusion like this in the future.



== 3 of 3 ==
Date: Tues, Nov 30 2004 3:37 pm
From: Sudsy  

Kwasi wrote:
> I am using WSAD 5.1 and am having problems when compiling lines like
> the following:
> <input type="hidden" name="domainName" value="<c:out
> value={requestScope.domainNm}"> where c is defined as the jstl taglib
> The error I get when I try to do this is "the value of attribute value
> must not contain the '<' character. Somehow I have a strange and very
> strict compiler that is not very friendly. Anyone have any ideas as to
> what I might be doing wrong??

<input type="hidden" name="domainName" value='<c:out 
value="${requestScope.domainNm}"/>'>

Three things to note:
- use of both kinds of quotes
- the $ sign for EL
- the termination of the c:out tag
All were missing from your original post.

ps. I just tried this out and it works properly.

-- 
Java/J2EE/JSP/Struts/Tiles/C/UNIX consulting and remote development.





==============================================================================
TOPIC: JSF
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/3dd2a1c96852650b
==============================================================================

== 1 of 4 ==
Date: Tues, Nov 30 2004 11:20 pm
From: Konstantin Dmitriev  

Hi, all...

I address to those who used Java Server Faces in the work. What could 
you tell concerning this technology? And whether there are alternatives 
to it. Where I can find examples which illustrate advantages of this 
technology above alternative to it?

--
Alex



== 2 of 4 ==
Date: Tues, Nov 30 2004 7:45 pm
From: Michael Borgwardt 
 

Konstantin Dmitriev wrote:
> I address to those who used Java Server Faces in the work. What could 
> you tell concerning this technology?

As frameworks tend to do, it imposes restrictions and adds complexity, and
sometimes it feels as if you spend more time fighting those than doing
productive work, but then there are also times when you find that a seemingly
daunting task is ridiculously simple thanks to the framework.

And if you didn't use such a framework, you'd probably end up creating your
own restrictions and complexities, probably worse ones.

> And whether there are alternatives to it.

The obvious (because most popular) one would be Struts, which is in fact
the main precursor to JFS and pretty similar, though it focuses more on
the controller side instead of the view.

There are literally dozens of other Webapp frameworks, such as
Turbine, Cocoon, Tapestry, Jetspeed, Expresso. All of them have
different scopes and focuses, and it may even be a good idea
to combine two of them.


> Where I can find examples which illustrate advantages of this 
> technology above alternative to it?

A good comparison of Struts and JSF:
http://www.sys-con.com/story/?storyid=46516&de=1&jdj=on

An article on the same subject, by a guy who was heavily involved in the
development of both:
http://blogs.sun.com/roller/page/craigmcc/20040927

Lots of other articles:
http://www.google.com/search?q=java+%22web+frameworks%22+comparison



== 3 of 4 ==
Date: Tues, Nov 30 2004 10:13 pm
From: jlp  

Michael Borgwardt a écrit :
> Konstantin Dmitriev wrote:
> 
>> I address to those who used Java Server Faces in the work. What could 
>> you tell concerning this technology?
> 
> 
> As frameworks tend to do, it imposes restrictions and adds complexity, and
> sometimes it feels as if you spend more time fighting those than doing
> productive work, but then there are also times when you find that a 
> seemingly
> daunting task is ridiculously simple thanks to the framework.
> 
> And if you didn't use such a framework, you'd probably end up creating your
> own restrictions and complexities, probably worse ones.
> 
>> And whether there are alternatives to it.
> 
> 
> The obvious (because most popular) one would be Struts, which is in fact
> the main precursor to JFS and pretty similar, though it focuses more on
> the controller side instead of the view.
> 
> There are literally dozens of other Webapp frameworks, such as
> Turbine, Cocoon, Tapestry, Jetspeed, Expresso. All of them have
> different scopes and focuses, and it may even be a good idea
> to combine two of them.
> 
> 
>> Where I can find examples which illustrate advantages of this 
>> technology above alternative to it?
> 
> 
> A good comparison of Struts and JSF:
> http://www.sys-con.com/story/?storyid=46516&de=1&jdj=on
> 
> An article on the same subject, by a guy who was heavily involved in the
> development of both:
> http://blogs.sun.com/roller/page/craigmcc/20040927
> 
> Lots of other articles:
> http://www.google.com/search?q=java+%22web+frameworks%22+comparison
at this list, i will add the frameworks echo / echopoint ( LGPL / 
Mozilla licence)  which introduce  a "swing programming like"  for thin 
client. You can programm your IHM, completly in java ( no JSP pages, no 
XML descriptor (except for servlet), no HTML pages ).
I test at home, it is AMHO a great framework.
Links :
http://www.nextapp.com/
http://echopoint.sourceforge.net/



== 4 of 4 ==
Date: Tues, Nov 30 2004 10:28 pm
From: "Heiner Kücker"  

Konstantin Dmitriev wrote
> I address to those who used Java Server Faces in the work. What could
> you tell concerning this technology? And whether there are alternatives
> to it. Where I can find examples which illustrate advantages of this
> technology above alternative to it?

An good alternative is the W4TOOLKIT

http://w4toolkit.com/

It contents an eclipse plugin which enabled to write webapps like
visual basic or swing apps in an visual editor with mask layout
with properites and events.

Heiner Kuecker
Internet: http://www.heinerkuecker.de  http://www.heiner-kuecker.de
JSP WorkFlow PageFlow Page Flow FlowControl Navigation: 
http://www.control-and-command.de
Expression Language Parser: http://www.heinerkuecker.de/Expression.html
(no struts)






==============================================================================
TOPIC: GMail
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/8c7ea8aeb68bc1b4
==============================================================================

== 1 of 1 ==
Date: Tues, Nov 30 2004 1:26 pm
From: Josh Martin  

Pat wrote:

> Hi all,
> 
> Does anyone has invitation quota to GMail?
> Seems it's a good webmail.
> If you still have quota left, would you give me one?
> My email is [EMAIL PROTECTED]
> 
> Thanks.


Just sent you an invite.

--
Josh




==============================================================================
TOPIC: Laptop with Websphere
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/6926ee85fd956588
==============================================================================

== 1 of 2 ==
Date: Tues, Nov 30 2004 7:33 pm
From: "Yakima Jones"  

Yes, Tomcat, that's what I was told but couldn't remember... Thank you

http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&rd=1&item=6726190850&ssPageName=STRK:MESE:IT

So this laptop I found on Ebay is a good value because I would not be
restricted to Websphere Application Server...

Thanx



"Chris Smith" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Yakima Jones <[EMAIL PROTECTED]> wrote:
> > I am thinking about buying a laptop with Websphere Studio Application
> > Developer 5.1.2
> > I am not working with Websphere, and heard there was a free server I
could
> > use with this package.
> > Does anyone know what that server was...
>
> Depends on what you want to develop.  There's Tomcat, and JBoss, and ...
>
> -- 
> www.designacourse.com
> The Easiest Way To Train Anyone... Anywhere.
>
> Chris Smith - Lead Software Developer/Technical Trainer
> MindIQ Corporation





== 2 of 2 ==
Date: Tues, Nov 30 2004 1:04 pm
From: [EMAIL PROTECTED] (Raymond Lee) 

I am using IBM WSAD in work environment. It is a really good 
IDE for Java web application development and I highly recommend it. 
It has built-in refactoring features. You can debug and test your
applications
locally by creating new server inside WSAD. If you use Tomcat (web
applications) and JBoss (EJB applications), you need a separate IDE to
do the coding. You can try open source IBM Eclipse first to get the
feel, since IBM WSAD is using Eclipse as the code based framework.




==============================================================================
TOPIC: how to resize a array?
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/d5ed97c9d7b81add
==============================================================================

== 1 of 1 ==
Date: Tues, Nov 30 2004 10:00 pm
From: Oscar kind  

Dimitri Maziuk <[EMAIL PROTECTED]> wrote:
> <sigh/> Some people have all the luck... We get to work with (multiple)
> 10000+ row data sets where each row consists of at least a couple of
> short strings and a couple of floats. So far the only implementation
> that is neither "unacceptably slow" nor "we don't have funds to add
> an extra 2GB of RAM to all our workstations right now" bloated is the
> one with hand-coded arrays of primitive types. Column-wise.

Thanks. ;)

One way to be lucky is to work with web applications: to achieve
acceptable performance, one should not retreive more than one page of
records (about 20). Of course, creating the database access & query is
generally tedious, manual work (as opposed to using EJB's for example),
but the data structure can be very nice. I like it anyway.


-- 
Oscar Kind                                    http://home.hccnet.nl/okind/
Software Developer                    for contact information, see website

PGP Key fingerprint:    91F3 6C72 F465 5E98 C246  61D9 2C32 8E24 097B B4E2




==============================================================================
TOPIC: JBoss to go closed source?
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/4a8dda54906ca8df
==============================================================================

== 1 of 1 ==
Date: Tues, Nov 30 2004 10:02 pm
From: Tim Tyler  

In comp.lang.java.advocacy Cindi Jenkins <[EMAIL PROTECTED]> wrote or quoted:

> The issue is whether is it legal for a company to change licensing in
> situations where the community has contributed time, energy and code.
> Should JBoss be allowed to change their license and not provide
> compensation for those who have contributed in the past?

Usually all copyright holders have to agree on any licensing
terms.  If copyrighted material is used without the permission
of the copyright holder, the use is not permitted by law.

As with other areas of copyright law, you can surrender these
rights if you choose to do so, using a license.

So, this boils down to whether the contributors retained copyright -
and what license they offered in exchange for the use of their code.
-- 
__________
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.




==============================================================================
TOPIC: JOptionPane need help
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/36266b3b6005d47a
==============================================================================

== 1 of 1 ==
Date: Tues, Nov 30 2004 2:47 pm
From: "HS1"  

Hello all
I want to show a dialog asking users to select a string. They also can
Cancel if they want to cancel the input.
Here is the code for a JOptionPane:

Object[] possibleValues {"First", "Second", "Third"};
Object selectValue = JOptionPane.showInputDialog(null, "Choose one", "Input
value", JOptionPane.OK_CANCEL_OPTION, null, possibleValues,
possibleValues[0]);

if (selectValue != null){
  " ...Do Something..."
}

It can be seen that the dialog has two button: OK and Cancel. However the
cancel button does not work as when I click Cancel, my application still
"...Do Something..."


Could you please help to fix this
Many thanks
SH1







==============================================================================

You received this message because you are subscribed to the Google
Groups "comp.lang.java.programmer" group.

To post to this group, send email to [EMAIL PROTECTED] or
visit http://groups-beta.google.com/group/comp.lang.java.programmer

To unsubscribe from this group, send email to
[EMAIL PROTECTED]

To change the way you get mail from this group, visit:
http://groups-beta.google.com/group/comp.lang.java.programmer/subscribe

To report abuse, send email explaining the problem to [EMAIL PROTECTED]

==============================================================================
Google Groups: http://groups-beta.google.com 

Reply via email to