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

Today's topics:

* program surveillance - 2 messages, 2 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/3aa42b0602e08f48
* Drawing images over a JPanel - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/fd5a3f6990520065
* Can I use a swing Component (e.g. JTextField) in a Java Applet - 5 messages, 3 
authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/3c7d733bbc418c23
* Problem accessing Serialport - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/1ef3a7f1093efed0
* comp.lang.java.{help,programmer} - what they're for (mini-FAQ 2002-12-28) - 1 
messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/6eff67999ba29a46
* Classloader IllegalAccessException - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/3358cc999f8ccd4b
* Ant's not figuring out the order of compilation - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/62037e3151fa62ee
* Java Generics, Type Erasure and Frameworks - 2 messages, 2 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/4a177668e768f55d
* serialize generic objects to XML? - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/623165071345a4aa
* _scripting engines for java applications_ - 2 messages, 2 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/39a65441a241e46a
* emacs Vs Eclipse? - 3 messages, 3 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/58b6f53b3e1b91e1
* Very newbie question - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/87fc20cd28efb6ab
* Anyone for a challenge? - Done. - 3 messages, 2 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/791ca33e07d491a5
* getting resolution of monitor - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/e18f59060e4a3468
* Brauche dringend JDK1.1.4 ... - 4 messages, 4 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/8d6161080ed58911
* Scientific Dogma - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/8beff1743cc2327
* Resize JSplitPane Contanier - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/9c419d333b537fe9
* JSP: Session parameters vanish on refresh. How do I keep them on refresh? - 1 
messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/2f5632dd37dfd103
* Looking for HTML Renderer - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/b1a8bdcce8b1d66f
  
==========================================================================
TOPIC: program surveillance
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/3aa42b0602e08f48
==========================================================================

== 1 of 2 ==
Date:   Thurs,   Oct 7 2004 2:14 am
From: Michael Borgwardt <[EMAIL PROTECTED]> 

Joona I Palaste wrote:
>>Po is German for "butt".
>>Maybe OP means "shi% load" of experience.
> 
> Why would an Italian be posting in German?

He could be from Southern Tyrol, which is a mostly German-speaking
region in northern Italy.

Though I suspect that he meant "pot".



== 2 of 2 ==
Date:   Thurs,   Oct 7 2004 2:35 am
From: Andrew Thompson <[EMAIL PROTECTED]> 

On Thu, 07 Oct 2004 11:14:14 +0200, Michael Borgwardt wrote:

> ..I suspect that he meant "pot".

'A pot of experience...'  Suddenly it makes sense.  :-)




==========================================================================
TOPIC: Drawing images over a JPanel
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/fd5a3f6990520065
==========================================================================

== 1 of 1 ==
Date:   Thurs,   Oct 7 2004 2:19 am
From: Abs <[EMAIL PROTECTED]> 

Thomas Weidenfeller wrote:
> Abs wrote:
> 
>> I'm using active rendering over a JPanel implementing Runnable and I 
>> have some doubts I want share with you. Which of the following codes 
>> is better (performace, etc...):
> 
> 
> Unless you have some very special requirements (which you didn't tell 
> us), both methods are equally bad, because you are not following the 
> Swing/AWT painting model.

I'm developing a fullscreen slideshow app, so I thought the Swing 
passive rendering method wasn't suitable for it. Which alternatives do I 
have ? I don't think Java 2D games use passive rendering at all.

> See the comp.lang.java.gui FAQ (just posted a few days ago). Related 
> questions are Q3.1 (esp. the second url in that link), Q3.2, Q3.4 (why 
> getGraphics() is usually not a good idea), and the stuff in section 7.
> 
> /Thomas




==========================================================================
TOPIC: Can I use a swing Component (e.g. JTextField) in a Java Applet
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/3c7d733bbc418c23
==========================================================================

== 1 of 5 ==
Date:   Thurs,   Oct 7 2004 2:20 am
From: [EMAIL PROTECTED] (Prashanth Ravi) 

Hi ,

Need help in Java - Can I use a swing Component (e.g. JTextField) in a Java Applet?

Would I have any problems if I use a swing component in a java applet?



== 2 of 5 ==
Date:   Thurs,   Oct 7 2004 2:24 am
From: [EMAIL PROTECTED] (Prashanth Ravi) 

Hi ,

Need help in Java - Can I use a swing Component (e.g. JTextField) in a Java Applet?

Would I have any problems if I use a swing component in a java applet?



== 3 of 5 ==
Date:   Thurs,   Oct 7 2004 2:26 am
From: Peter Ashford <[EMAIL PROTECTED]> 

Prashanth Ravi wrote:
> Hi ,
> 
> Need help in Java - Can I use a swing Component (e.g. JTextField) in a Java Applet?
> 
> Would I have any problems if I use a swing component in a java applet?

You can use all the swing components in Applets.



== 4 of 5 ==
Date:   Thurs,   Oct 7 2004 2:30 am
From: Andrew Thompson <[EMAIL PROTECTED]> 

On 7 Oct 2004 02:24:32 -0700, Prashanth Ravi wrote:

> Need help in Java - 

<http://www.physci.org/codes/javafaq.jsp#cljh>

>...Can I use a swing Component (e.g. JTextField) in a Java Applet?

Yes.

> Would I have any problems if I use a swing component in a java applet?

Applets, yes.  Swing in JApplets, yes.

See you over on the other group for better
(at least longer) answers.

-- 
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



== 5 of 5 ==
Date:   Thurs,   Oct 7 2004 2:58 am
From: Andrew Thompson <[EMAIL PROTECTED]> 

On Thu, 07 Oct 2004 22:26:46 +1300, Peter Ashford wrote:

> You can use all the swing components in Applets.

You can use Swing components in JApplets in browsers
with a 1.2+ JRE (or the fabled pre-1.2 add-in jar).  
Some Swing components require a JRE 1.3 or 1.4.

Or in other words ..'not so simple'.

-- 
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: Problem accessing Serialport
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/1ef3a7f1093efed0
==========================================================================

== 1 of 1 ==
Date:   Thurs,   Oct 7 2004 2:20 am
From: Ny Het <[EMAIL PROTECTED]> 

Hi,

Im trying to access a GSM modem via the serial port using  1.4.2_05 on under 
Debian Linux.  I have installed RXTX and are member of goup uupc.
(im not sure if this is a java configuration issue, or relates to debian security.

The application works if I run it as root. However I would like to avoid that.

Thanks in advance.




==========================================================================
TOPIC: comp.lang.java.{help,programmer} - what they're for (mini-FAQ 2002-12-28)
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/6eff67999ba29a46
==========================================================================

== 1 of 1 ==
Date:   Thurs,   Oct 7 2004 2:25 am
From: [EMAIL PROTECTED] (David Alex Lamb) 

Last-Modified: Sat Dec 28 12:08:40 2002 by David Alex Lamb
Archive-name: computer-lang/java/help/minifaq
Posting-Frequency: every 4 days

Before posting read Jon Skeet's "How to get answers on the comp.lang.java.*
newsgroups" at http://www.pobox.com/~skeet/java/newsgroups.html

Java FAQs and advice:
- Java/Javascript/Powerbuilder HOWTO (Real Gagnon)
  http://www.rgagnon.com/howto.html
- Java Glossary (Roedy Green)  http://www.mindprod.com/jgloss.html
- Java Programmers' FAQ (Peter van der Linden) http://www.afu.com/javafaq.html
- jGuru jFAQs (John Zukowski)    http://www.jguru.com/jguru/faq/
- Focus on Java (John Zukowski)   http://java.about.com/
- Java Q&A (David Reilly)  http://www.davidreilly.com/jcb/faq/

comp.lang.java.help     Set-up problems, catch-all first aid.
    According to its charter, this unmoderated group is for immediate help
    on any Java problem, especially when the source of the difficulty is
    hard to pin down in terms of topics treated on other groups.
        This is the appropriate group for end-users, programmers and
    administrators who are having difficulty installing a system capable of
    running Java applets or programs.  It is also the right group for
    people trying to check their understanding of something in the
    language, or to troubleshoot something simple.

comp.lang.java.programmer  Programming in the Java language.
    An unmoderated group for discussion of Java as a programming language.
    Specific example topics may include:
      o types, classes, interfaces, and other language concepts
      o the syntax and grammar of Java
      o threaded programming in Java - sychronisation, monitors, etc.
      o possible language extensions (as opposed to API extensions).
    The original charter said that discussion explicitly should not include
    API features that are not built into the Java language and gave examples
    like networking and the AWT.  These days AWT belongs in clj.gui, and
    networking is often discussed in clj.programmer.

Do not post binary classfiles or long source listings on any of these
groups. Instead, the post should reference a WWW or FTP site (short source
snippets to demonstrate a particular point or problem are fine).

Don't post on topics that have their own groups, such as:
 comp.lang.java.3d        The Java 3D API
 comp.lang.java.advocacy  Arguments about X versus Y, for various Java X and Y
 comp.lang.java.beans     JavaBeans and similar component frameworks
 comp.lang.java.corba     Common Object Request Broker Architecture and Java
 comp.lang.java.databases Using databases from Java
 comp.lang.java.gui       Java graphical user interface design and construction
 comp.lang.java.machine   Java virtual machines, like JVM and KVM
 comp.lang.java.security  Using Java securely
 comp.lang.java.softwaretools Tools for developing/maintaining Java programs
Don't cross-post between these groups and c.l.j.programmer or .help -- it just
wastes the time of people reading the general groups.

Don't post about JavaScript; it's a different language.  See
comp.lang.javascript instead.
-- 
"Yo' ideas need to be thinked befo' they are say'd" - Ian Lamb, age 3.5
http://www.cs.queensu.ca/~dalamb/   qucis->cs to reply (it's a long story...)




==========================================================================
TOPIC: Classloader IllegalAccessException
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/3358cc999f8ccd4b
==========================================================================

== 1 of 1 ==
Date:   Thurs,   Oct 7 2004 3:33 am
From: "Andreas Solsbach" <[EMAIL PROTECTED]> 

Hi,

I have some problems with an llegalAccessException when I load a class...
i get the error message form the line    "return  c.newInstance();"

in agentsystem.PREAgent.PREALocaleFileProcessOneShotBehaviour i want to load
a class
and the classname and the url i get by user input

public Object loadClass(String url, String className)
    throws Exception
    {
      System.out.println("in loadClass");
      URL classURL = new File(url).toURL();
      URLClassLoader cl = new URLClassLoader(new URL[] {classURL});
      Class c = cl.loadClass(className);
      return  c.newInstance();
    }

but that is the error message

java.lang.IllegalAccessException: Class
agentsystem.PREAgent.PREALocaleFileProcessOneShotBehaviour can not access a
member of class neueKlasse with modifiers ""


----------- the class i want to load

publi class neueKlasse {
  public neueKlasse (){
    System.out.println("NEW CLASS LOADED :-)");
  }
}

__________________

So what i have to change in classloader or in my class neueKlasse ?

Thnx Andreas






==========================================================================
TOPIC: Ant's not figuring out the order of compilation
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/62037e3151fa62ee
==========================================================================

== 1 of 1 ==
Date:   Thurs,   Oct 7 2004 2:37 am
From: [EMAIL PROTECTED] (Roshan Pai) 

Hi,

I am using Ant1.5 for my application build.

I am facing a peculiar problem.

I have a target timework.

        <target depends="init" name="timework">
                <javac debug="${debugInfo}" deprecation="false"
destdir="${ANT_BINARIES_DIR}" srcdir="../src">
                        <classpath refid="ecp.class.path"/>
                        <include name="com/cbb/cup/timework/**"/>
                        <patternset>
                                <include name="com/cbb/cup/timework/**/test/*"
if="buildTestSources"/>
                                <include name="com/cbb/cup/timework/**/*Test.java"
if="buildTestSources"/>
                                <exclude name="com/cbb/cup/timework/**/test/*"
unless="buildTestSources"/>
                                <exclude name="com/cbb/cup/timework/**/*Test.java"
unless="buildTestSources"/>
                        </patternset>
                </javac>
        </target>



In the com.cbb.cup.timework.business folder there is a file
GlobalErrors.java, that a lot files in the com.cbb.cup.timework
folders use.
However this file is not getting compiled before the other files, and
hence all the files give errors that GlobalErrors.ERROR_CODES is not
resolved. Using the -debug option I have found that Ant is actually
listing the GlobalErrors.java file to be compiled. Only it does not
seem to understand that this file is used by others, and hence has to
be compiled first.

This was not happenning before, as Ant was somehow sorting out which
files to compile first.

How can I force Ant to compile this particular file first before the
other files? Could this be a bug?

Any help would be greatly appreciated.

Regards,
Pai




==========================================================================
TOPIC: Java Generics, Type Erasure and Frameworks
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/4a177668e768f55d
==========================================================================

== 1 of 2 ==
Date:   Thurs,   Oct 7 2004 2:46 am
From: "Sebastian Millies" <[EMAIL PROTECTED]> 

I have started looking at Java Generics recently. At first, what
I struck me as valuable was that type parameters allow one to express
constraints that cannot (or not easily) be expressed using simple
polymorphism.

(An example would be a generic sort method that only accepted
a collection if its members were comparable with themselves,
cf. http://www.mindview.net/WebLog/wiki-0050)

However, when I learned about the type erasure implementation
of generics, it seemed to me that the added expressiveness was of no
use to people designing frameworks and libraries. After all, there is no
generic run-time type information in the jar-file you'll eventually
distribute. So, for example, you could not create a library containing
a sort method with the above restriction - not even if you required
clients to use the Tiger jre.

I then read about NextGen, and the possibility of including run-time generic
types in Java (e.g. http://www.cs.rice.edu/~eallen/papers/nextgen-final.pdf)
Is anything like that planned by Sun for a future Java release? If not,
there
seems to be little  gain in using Java generics for framework development.

-- Sebastian





== 2 of 2 ==
Date:   Thurs,   Oct 7 2004 3:10 am
From: "Chris Uppal" <[EMAIL PROTECTED]> 

Sebastian Millies wrote:

> However, when I learned about the type erasure implementation
> of generics, it seemed to me that the added expressiveness was of no
> use to people designing frameworks and libraries. After all, there is no
> generic run-time type information in the jar-file you'll eventually
> distribute.

The type information is included in the jar files.  It's just that it isn't
used by the JVM itself, only by any 1.5-style compiler that is compiling
against those jar files.

There are a bunch of new "attributes" added to classfiles generated by the new
compiler, some of which provide type information for generics.  The compiler
knows how to read and use that data when if is compiling code that uses the
classes.

(After all, uses of the newly generic standard library are type checked, so it
clearly possible ;-)

    -- chris






==========================================================================
TOPIC: serialize generic objects to XML?
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/623165071345a4aa
==========================================================================

== 1 of 1 ==
Date:   Thurs,   Oct 7 2004 2:51 am
From: "Richard Chrenko" <[EMAIL PROTECTED]> 

On Thu, 7 Oct 2004 18:57:59 +1000, Brusque <[EMAIL PROTECTED]>  
wrote:

>
> "Richard Chrenko" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> I currently use ObjectOutputStream in order to serialize my objects.
>> However, in order to test and debug my code I really need a  
>> human-readable
>> output format. The XMLEncoder class does what I want, albeit only for
>> classes adhering to the JavaBean standard. Is there anything like an
>> "XMLOutputStream" which will convert the generic contents of an
>> ObjectOutputStream to XML?
>
> http://xstream.codehaus.org/
>
>

Thanks for the tip. Unfortunately my classes implement custom  
serialization which, according to their website, codehaus does not support.

I have also tried the demo version of JSX which declares as a "feature"  
that it serializes all attributes (even of parent classes not implementing  
Serializable. The result is that for my relatively simple class which  
happens to extend Observable, JSX is writing over 100 megabytes of  
unwanted XML!!




==========================================================================
TOPIC: _scripting engines for java applications_
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/39a65441a241e46a
==========================================================================

== 1 of 2 ==
Date:   Thurs,   Oct 7 2004 2:52 am
From: Andrey Romanenko <[EMAIL PROTECTED]> 

Hi All,

I've written java app with classes that strickly corresponds to user's 
business domain. Now I want to add scripting feature to my program to 
enable user to create own scenarios of processing objects of those 
business classes. Where to start? Is there any scripting languages 
implemented in java?

thanks,

Andrey




== 2 of 2 ==
Date:   Thurs,   Oct 7 2004 3:21 am
From: "Chris Uppal" <[EMAIL PROTECTED]> 

Andrey Romanenko wrote:

> Is there any scripting languages implemented in java?

Several, some are:

Groovy: http://groovy.codehaus.org/
Jython: http://www.jython.org/
Kawa: http://www.gnu.org/software/kawa/

And then there are interpreters that use a flavour of Java; these don't
particularly interest me, but two are:

BeanShell: http://www.beanshell.org/
DynamicJava: http://koala.ilog.fr/djava/

    -- chris






==========================================================================
TOPIC: emacs Vs Eclipse?
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/58b6f53b3e1b91e1
==========================================================================

== 1 of 3 ==
Date:   Thurs,   Oct 7 2004 2:57 am
From: Per Abrahamsen <[EMAIL PROTECTED]> 

[EMAIL PROTECTED] (slowCoder) writes:

> Given that eclipse has plugins for C/Java/Latex and runs on Linux/Win,
> I don't see a reason why I should stick with emacs.

You are aware that there exist text formats other than C, Java and
LaTeX, and platforms other than Linux and MS-Windows?

I like to use the same text editor for all kinds of text, including
mail and news messages, and on all platforms.  And I want it to have
enough knowledge of all the different text formats to allow me to
concentrate on the content, rather than syntactical or editor specific
issues.



== 2 of 3 ==
Date:   Thurs,   Oct 7 2004 3:01 am
From: Ville Vainio <[EMAIL PROTECTED]> 

>>>>> "Oliver" == Oliver Scholz <[EMAIL PROTECTED]> writes:

    Oliver> Ville Vainio <[EMAIL PROTECTED]> writes:
    Oliver> [...]

    >> I'm a long time emacs user. The following article was an eye-opener,
    >> of a sort, for me:
    >> 
    >> http://pinard.progiciels-bpi.ca/opinions/editors.html
    Oliver> [...]

    Oliver> Could you expand on why you found that article convincing?

It provided a more "inside" perpective to the emacs development, and
suggests that the development won't be accelerating any time soon. For
me, an important part of the appeal of emacs has been the
"future-proof" quality, but if the development is stagnating, well, it
just doesn't feel that future-proof anymore.

    Oliver> That's o.k., I have my own, different idiosyncracies.  But
    Oliver> I don't understand how that could convince anybody else.

It depends on one's idiosyncracies, I guess. I don't think the article
is aimed at "convincing" anyone - what would be the point, anyway? One
might hope that the critique of emacs (or the state of it) might lead
to some discussions in the emacs developer community, perhaps even a
"renaissance" of some sort, reunification of emacs and xemacs, and
world peace (that'll be the day).

    Oliver> far.  Later on he ditches Lisp in favour of Python and
    Oliver> complains about how bad Emacs supports Python.  Again,
    Oliver> fine for him if he prefers Python.  I don't.  IMO, this
    Oliver> boils down to the ancient
    Oliver> what-is-the-best-language-of-the-world issue.  Surely
    Oliver> interesting, but IMO hardly a very convincing argument
    Oliver> against Emacs.

I also prefer Python, by far. If emacs was in Python, it would have
*much* more contributors and extensions. Lisp is an integral part of
the emacs community, and that's probably not going to change, so I,
like the author of the article, did some soul-searching and wondered
whether emacs is where I want to be in the future. I'm going to keep
on using it until Eclipse matures up a bit more, which might take a
few years, but I'm trying to refrain from getting too involved with
configuration and implementation of extensions.

I don't particularly like Java, or consider it a better editor
extension language than elisp, but with Eclipse I think the *need* to
hack the editor is lower.

-- 
Ville Vainio   http://tinyurl.com/2prnb



== 3 of 3 ==
Date:   Thurs,   Oct 7 2004 3:52 am
From: "Darryl L. Pierce" <[EMAIL PROTECTED]> 

Per Abrahamsen wrote:

>> Given that eclipse has plugins for C/Java/Latex and runs on Linux/Win,
>> I don't see a reason why I should stick with emacs.
> 
> You are aware that there exist text formats other than C, Java and
> LaTeX, and platforms other than Linux and MS-Windows?

Perhaps there are, but if the person to which you're replying doesn't use
them then their existence is meaningless to him.

-- 
/**
 * @author Darryl L. Pierce <[EMAIL PROTECTED]>
 * @see    The Infobahn Offramp <http://mcpierce.mypage.org>
 * @quote  "Lobby, lobby, lobby, lobby, lobby, lobby..." - Adrian Monk
 */




==========================================================================
TOPIC: Very newbie question
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/87fc20cd28efb6ab
==========================================================================

== 1 of 1 ==
Date:   Thurs,   Oct 7 2004 3:17 am
From: "Stefan Schulz" <[EMAIL PROTECTED]> 

On Wed, 06 Oct 2004 19:04:02 GMT, Thomas G. Marshall  
<[EMAIL PROTECTED]> wrote:

> Stefan Schulz coughed up:
>> On Wed, 06 Oct 2004 04:16:23 GMT, Thomas G. Marshall
>> <[EMAIL PROTECTED]> wrote:
>>
>>> Stefan Schulz coughed up:
>>>
>>>> It definitly belongs to cljh, but that is not the main point. :)
>>>
>>> Based upon what?
>>>
>>> Like I pointed out, the group description for c.l.j.help is:
>>>
>>>         *Set-up problems, catch-all first aid.*
>>>
>>> http://groups.google.com/groups?selm=list-20040915150002%2415cb%40isc.org
>>
>> Well, in that case, the taglines should really be updated.
>
>
> To what?  Determined by whom?  And where is the consensus?

My suggestion would be to make it clear that most "how do i do" questions
belong to cljh. *shrug* Just my fiftieth of a dollar, though. If anyone is
willing to push that trough the administrative process... i'd be thankful,
but i do not have that much free time on my hands.



-- 

Whom the gods wish to destroy they first call promising.




==========================================================================
TOPIC: Anyone for a challenge? - Done.
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/791ca33e07d491a5
==========================================================================

== 1 of 3 ==
Date:   Thurs,   Oct 7 2004 3:17 am
From: "Andoni" <[EMAIL PROTECTED]> 

There is only one way to do this:

Go to this page and download Bruce Eckel's great book in PDF format. It is
free and it is a brilliant guide to the Java language. Including myself he
has probably taught many people to program in java.

http://xoomer.virgilio.it/lucadiod/thinking_in_java.htm

Enjoy,
Andoni.

"vikash" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I want to learn java through net give me some site add. and java tutorial.
>
>
>
>
>
>
> "Andoni" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> > Done,
> >
> > Used Arrays.sort() to sort the counts and then went through my sorted
list
> > of counts looking for (and removing) the first one I found that matched.
> >
> > Not forgetting up update my Iterator each time I removed an element from
the
> > ArrayList!!
> >
> > Thanks,
> >
> > Andoni.
> >
> > "Andoni" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> > > Hi,
> > >
> > > I want a way of sorting a list in Java but I don't want to re-invent
the
> > > wheel as there are two sorting mechanisms in Java already.
> > >
> > > I am using Java 1.4.1.
> > >
> > > I have Hashtable which contains textual labels as keys and ArrayLists
as
> > > values.
> > > I have to convert this into a LinkedHashMap which contains the same
> >  textual
> > > labels as keys but is ordered by the size of the ArrayLists (more than
one
> > > of which may be the same), and now no longer contains the ArrayList
but
> > > rather contains the count of their values and the addition of their
values
> > > as a comma separated string!
> > >
> > > Input:
> > > "exe", [3, 6, 9]
> > > "doc", [4, 2, 4]
> > > "xls", [1, 9]
> > > "txt", [2, 2, 3, 2]
> > >
> > > Output:
> > > "txt","4,9"
> > > "exe", "3,18"
> > > "doc", "3,10"
> > > "xls","2,10"
> > >
> > > Do I have to write a bubble sort myself or can I leverage something's
> >  that's
> > > already there?
> > >
> > > Thanks in advance,
> > > Andoni
> > >
> > >





== 2 of 3 ==
Date:   Thurs,   Oct 7 2004 4:35 am
From: "Andoni" <[EMAIL PROTECTED]> 

Have you seen Google's new groups program? I think you can get to it via:

http://groups-beta.google.com

It has fixed this problem.  I even checked this thread and it is all in
place!

Yippee.

I don't like the way they have merged groups with Directory though and they
obviously have ambitions over ICQ as well seeing as you can create your own
public and private groups!

Andoni.


"Andrew Thompson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Thu, 7 Oct 2004 00:37:21 +0200, Boudewijn Dijkstra wrote:
> > "Andrew Thompson" <[EMAIL PROTECTED]> schreef in bericht...
>
> >> ..please do not change the subject lines of your
> >> posts unless absolutely necessary, as the response ...
> >
> > ... may
>
> True, but when that includes Google's archive, everything else is moot.
>
> >..thread uncorrectly.
>
> 'incorrectly.'
>
> Yeah, ..that was being fussy, but I could not resist.  ;-)
>
> -- 
> 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 3 ==
Date:   Thurs,   Oct 7 2004 4:58 am
From: Andrew Thompson <[EMAIL PROTECTED]> 

On Thu, 7 Oct 2004 12:35:57 +0100, Andoni wrote:

> Have you seen Google's new groups program? ..
..
> Yippee.

<http://groups-beta.google.com/group/comp.lang.java.programmer/browse_frm/thread/791ca33e07d491a5/cba84b825dfedac8>

Wooh.. with colors, and all.  

But, they stuffed it up completely.
Purple is not my color..      ;)

-- 
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: getting resolution of monitor
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/e18f59060e4a3468
==========================================================================

== 1 of 1 ==
Date:   Thurs,   Oct 7 2004 3:18 am
From: [EMAIL PROTECTED] (Jean Paul) 

Andrew Thompson <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> On 6 Oct 2004 14:19:31 -0700, Jean Paul wrote:
> 
> > I was wondering if it is possible to create a window, where the size
> > is dependant on the resolusion that's currently being used. 
> 
> <http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Toolkit.html#getScreenSize()>
> <http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Toolkit.html#getScreenResolution()>
> 
> BTW - comp.lang.java.programmer, comp.lang.java.help, comp.lang.java.gui 
> is far too wide a cross-post* for this basic question.  Please restrict 
> your posts to c.l.j.help for the moment.
> 
> * <http://www.physci.org/codes/javafaq.jsp#xpost>
> 
> [ Follow-Ups set to c.l.j.help ]

Thnx guys!!!




==========================================================================
TOPIC: Brauche dringend JDK1.1.4 ...
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/8d6161080ed58911
==========================================================================

== 1 of 4 ==
Date:   Thurs,   Oct 7 2004 4:05 am
From: [EMAIL PROTECTED] (werner55) 

Hallo,
ich habe heute Nacht um 2 entsetzt herausgefunden, dass mein (mit JDK
1.3/1.4 compiliertes) Applet nicht mit dem IE läuft, es sei denn, es
ist zufällig ein Plugin auf der Maschine installiert. MS verwendet
undank der kleinen Unstimmigkeiten mit Sun eine MSVMS, die auf Java
Version 1.1.4 aufsetzt, die ist dummerweise Baujahr '97 und gehört
eigentlich ins Museum.
Ich würde mein Applet (das die Navigation einer Homepage ist und
leider sehr arbeitsintensiv war) aber gerne überall sehen - wer kennt
einen Download Link zu dieser JDK Version oder hat sie zuhause und
kann sie irgendwo hin auf nen Server stellen, mailen, ich hol sie auch
ab und bring ein Bier mit wenn's sein muß...
Danke für jeden Tipp!
Werner

übrigens:
Wer kennt eine Statistik für die Durchdringung der Java Plugins mit
den entsprechenden Versionen...?



== 2 of 4 ==
Date:   Thurs,   Oct 7 2004 4:22 am
From: Michael Borgwardt <[EMAIL PROTECTED]> 

werner55 wrote:
> ich habe heute Nacht um 2 entsetzt herausgefunden, dass mein (mit JDK
> 1.3/1.4 compiliertes) Applet nicht mit dem IE läuft, es sei denn, es
> ist zufällig ein Plugin auf der Maschine installiert. MS verwendet
> undank der kleinen Unstimmigkeiten mit Sun eine MSVMS, die auf Java
> Version 1.1.4 aufsetzt, die ist dummerweise Baujahr '97 und gehört
> eigentlich ins Museum.

Das merkst Du *jetzt*? Wo hast Du denn gelebt? :)


> Ich würde mein Applet (das die Navigation einer Homepage ist und
> leider sehr arbeitsintensiv war) aber gerne überall sehen - wer kennt

Die Navigation einer Webseite sollte niemals auf Applets oder Javascript
beruhen - kümmer Dich lieber drum, daß es auch ohne Applet benutzbar ist.


> einen Download Link zu dieser JDK Version oder hat sie zuhause und
> kann sie irgendwo hin auf nen Server stellen, mailen, ich hol sie auch
> ab und bring ein Bier mit wenn's sein muß...

Höchstwahrscheinlich hast Du sie doch schon, mußt halt nur das Sun-Plugin für
IE deaktivieren.




== 3 of 4 ==
Date:   Thurs,   Oct 7 2004 4:21 am
From: Thomas Weidenfeller <[EMAIL PROTECTED]> 

werner55 wrote:
> Hallo,
> ich habe heute Nacht um 2 entsetzt herausgefunden,

... das du in der falschen Gruppe oder in der falschen Sprache 
schreibst? Versuch's mal in de.comp.lang.java

/Thomas



== 4 of 4 ==
Date:   Thurs,   Oct 7 2004 4:44 am
From: Andrew Thompson <[EMAIL PROTECTED]> 

On 7 Oct 2004 04:05:04 -0700, werner55 wrote:

> Hallo,

G'day cobber..

> ich habe heute Nacht um 2 entsetzt herausgefunden, dass mein (mit JDK
> 1.3/1.4 compiliertes) Applet nicht mit dem IE läuft, 

> I have tonight around 2 frightened found out that my 
> (with JDK 1.3/1.4 compiled) applet does not run with the IE, it ..

Most of you can guess the rest, so I'll have the rest 
translated by Google and hope for the best..

<http://translate.google.com/translate?u=http://www.physci.org/codes/javafaq.jsp&langpair=en%7Cde>

Merken Sie besonders die Hinweise auf applet und Internet Explorer.  

Lesen Sie es allen.  Es gibt andere Werkzeuge auf meinem 
Aufstellungsort zum Helfen, applet zu entfalten und beschäftigt IE.  

Haben Sie einen Blick an den Verbindungen auf dem links.  

Merken Sie auch, daß Sie zu einer Gruppe bekanntgaben, in der 
Leute im Allgemeinen Englisch schreiben, selbst wenn sie in 
ihrer Muttersprache bekanntgeben auch müssen können, um sich klarzustellen.  

Ich finde das Google, die Werkzeuge zu übersetzen, die, um 
Kommunikation zu unterstützen ziemlich handlich sind, 
wenn Sie zu dieser Gruppe bekanntgeben müssen und nicht englisch sprechen, 
ich vorschlage stark, daß Sie sie verwenden.  

Schließlich gibt es auch gute Javagruppen für deutsche Lautsprecher, 
wie ich verstehe.  ..you nicht gerader Pfosten hier tat Sie 
versehentlich (Rollenaugen)

OH- und Versuch zum nicht Lachen, als Sie die Übersetzungen lasen.    ;-)

-- 
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: Scientific Dogma
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/8beff1743cc2327
==========================================================================

== 1 of 1 ==
Date:   Thurs,   Oct 7 2004 4:07 am
From: [EMAIL PROTECTED] (Dave Monroe) 

nog <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> On 6 Oct 2004 15:58:13 GMT, Alexander Mulligan wrote:
> 
> > "nog" 
> > 
> > 5 lines with no quoted material in response to
> > a 150+ line post on a serious subject?
> > 
> > Post ignored, as will any subsequent posts by you,
> > and any responses to them.
> > 
> > My newsreader is a troll-free zone.
> > 
> > [...]
> > 
> > <+>
> 
> As soon as you trotted out the age=wisdom mantra, all pretence at being
> serious was lost.
> Anyway, I haven't been kf'd in ages. Thanks for the refresh. :-)

The mother of all cross-posts.

Kindly keep this shit out of comp.lang.java.programmer.




==========================================================================
TOPIC: Resize JSplitPane Contanier
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/9c419d333b537fe9
==========================================================================

== 1 of 1 ==
Date:   Thurs,   Oct 7 2004 4:30 am
From: [EMAIL PROTECTED] (Naveen Bandhu) 

Babu Kalakrishnan <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> [Followups set to c.l.j.gui]
> 
> Naveen Bandhu wrote:
> > 
> > I want to resize the container which holds JSplitPane. The situation
> > is with right button pressed the container should be resized to the
> > size of left component of JSplitpane and with left button pressed
> > container should be expanded to the size of left component +
> > Jsplitpane + right component, unlike the default behaviour of
> > JSplitpane.  How can i acheive this?
> > 
> 
> I'm afraid you'll have to be more clear in defining your problem for 
> others to understand it. Which "right" and "left" buttons are you 
> referring to ? The buttons of your mouse ?
> 
> Also your sentence "left component + JSplitPane + right component", 
> doesn't make too much sense since left and right components are *inside* 
> the JSplitPane, not outside in a separate container.
> 
> BK

Thanks for msg, by "buttons" im refering to "arrows" on JSplitPane and
"container" the window in which JSplitPane is displayed.

anyway let me rephrase.. I want to accomplish a "docking window"
effect. I want to be able to click on a JSplitPane and have it resize
the Window. For eg: I want to have a window which contains 2 panels.
The left panel should always be displayed. When the user clicks on the
JSplitPane arrow the right panel is displayed and the window increases
in size to display a right panel. When the user clicks on the
JSplitpane arrow again the right panel disappears and the window
resizes to its original size.



thanks.




==========================================================================
TOPIC: JSP: Session parameters vanish on refresh. How do I keep them on refresh?
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/2f5632dd37dfd103
==========================================================================

== 1 of 1 ==
Date:   Thurs,   Oct 7 2004 4:33 am
From: [EMAIL PROTECTED] (Per Magnus L?vold) 

Hi!
I'm working on a JSP application. Using JDBC I query for a certain
background program to finish populating a table.
This takes a while, so I am trying to do a refresh page that updates
with the latest results.
For refreshing the page, I use:
***
<head>
<META HTTP-EQUIV="REFRESH" CONTENT=30>
<title>my page</title></head>
***

This does the trick of refreshing the web page every 30 seconds. BUT
the problem is that all the parameters I have passed to the page
dissappear on the refresh..! So my code stops working. :-(

How can I set the parameters so that they still can be retreived after
a refresh?

The webserver supports servlet 2.0, and I have tried setting the
parameters with:
***
session.putValue("MyParam","MyValue");
***

When I after refresh try:
***
String myParam = (String)session.getValue("MyParam");
***
...myParam is empty.

Hope someone can help me here! :-)

Regards, Per Magnus




==========================================================================
TOPIC: Looking for HTML Renderer
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/b1a8bdcce8b1d66f
==========================================================================

== 1 of 1 ==
Date:   Thurs,   Oct 7 2004 5:04 am
From: bugbear <[EMAIL PROTECTED]> 

Xiaolei Li wrote:
> Andrew Thompson <[EMAIL PROTECTED]> wrote:
> 
>>On Wed, 6 Oct 2004 22:23:59 +0000 (UTC), Xiaolei Li wrote:
>>

> 
> anyway, i think the slight differences between browsers won't matter too
> much.  any competent renderer will do. 
> 

<speculation>

IIRC Sun had a native java Browser.
If this is open source, you may be able
to exploit the renderer.

</speculation>

     BugBear



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

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

comp.lang.java.programmer
[EMAIL PROTECTED]

Change your subscription type & other preferences:
* click http://groups-beta.google.com/group/comp.lang.java.programmer/subscribe

Report abuse:
* send email explaining the problem to [EMAIL PROTECTED]

Unsubscribe:
* click http://groups-beta.google.com/group/comp.lang.java.programmer/subscribe


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

Reply via email to