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

Today's topics:

* sorting an ArrayList by int - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/127ea15b32732f1
* simple IF question if (newplayer == goalkeeper) {throw error} - 2 messages, 2 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/f48598d0a1b3fad3
* Help needed on time-dependent functions - 2 messages, 2 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/aa3dccb5393bc2d8
* Midlet app size and web services - most efficient way of connecting?!? - 1 messages, 
1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/ebe729f64ca8414e
* exception handling problem - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/75dffc1e26b79688
* Contructor bad practices----WAS: Re: Can someone use invokeLater()... - 3 messages, 
3 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/70ac1bf0cc54a090
* newbie question - 2 messages, 2 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/abba4305d2a3593
* Apache Referencing META-INF Directory - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/c8128b3e03cc879b
* Naming Exception org.jnp.interfaces - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/b1e1073eaf98e6cb
* Apache Axis and JDK1.5 - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/b141c30d01c801f4
* input text that goes right to left - 2 messages, 2 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/667fd022ae56338d
* MMS Protocol and JMF - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/c858bbcbd26b2947
* java rtsp - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/78e64854ed16c96a
* Beginner) About the Timer using in separate class - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/466241af75596bd5
* MIDLet newbie questions - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/4fe913f96a7b75ac
* Sinking in the JAVA quicksandbox - 2 messages, 2 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/c50f4e3273d0e1bb
* Customized axis value in JFreeChart - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/cdedee6d1f53c2f5
  
==========================================================================
TOPIC: sorting an ArrayList by int
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/127ea15b32732f1
==========================================================================

== 1 of 1 ==
Date:   Thurs,   Oct 28 2004 1:22 pm
From: Steve Horsley <[EMAIL PROTECTED]> 

zcraven wrote:
> I need to update it so that if all values (points, goal difference and goals
> scored) are equal, it will sort the clubs by name (alphabetica order).
> 
> How do I update this code to include that?
> 

try:

    if(points1 != points2) {
        return (points1 >  points2) ? -1 : 1;
    }
    if(gdiffs1 != gdiffs2) {
        return (gdiffs1 >  gdiffs2) ? -1 : 1;
    }
    if(gscrs1 != gscrs2) {
        return (gscrs1 >  gscrs2) ? -1 : 1;
    }
    return name1.compareTo(name2);


Steve




==========================================================================
TOPIC: simple IF question if (newplayer == goalkeeper) {throw error}
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/f48598d0a1b3fad3
==========================================================================

== 1 of 2 ==
Date:   Thurs,   Oct 28 2004 1:17 pm
From: "Big Jim" <[EMAIL PROTECTED]> 

Most important though, you do realise an outfield player can go in goal e.g.
if the keeper gets injured and all the subs have been used.
A goalkeeper can swap with a player and play out too, as long as they notify
the ref of the change.
The Mexican keeper in the last world cup, Campo I think he was called, was
also a very good centre forward!

"zcraven" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> if (p2,p3,p4==Goalkeeper)
>         {
>             throw new IllegalArgumentException("You cannot put a
goalkeeper
> in an   outfield position");
>         }
>
>
> I want to check that the variables p2 to p11 are of class OutfieldPlayer
and
> not Goalkeeper (Both OutfieldPlayer and Goalkeeper are subtypes of
abstract
> class Player).  How do I write an if to check that the variables are of a
> certain class?
>
> Thanks,
> Zac
>
>





== 2 of 2 ==
Date:   Thurs,   Oct 28 2004 2:28 pm
From: [EMAIL PROTECTED] (Gurunath M.) 

Hi Guys,
   If you are using Java 1.5, i request you to check out Generics.
   I guess u can use it here somehow to solve your problem.
   http://java.sun.com/developer/technicalArticles/releases/generics/

   Regards,
   Gurunath M.




==========================================================================
TOPIC: Help needed on time-dependent functions
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/aa3dccb5393bc2d8
==========================================================================

== 1 of 2 ==
Date:   Thurs,   Oct 28 2004 1:25 pm
From: [EMAIL PROTECTED] (PX) 

Greetings,

I am working on a single-threaded simulation project, but I don't know
to implement time-dependent functions. The simplest example would be:
velocity = a * time + b;
distance = velocity * time;

Please advise. Thanks in advance!



== 2 of 2 ==
Date:   Thurs,   Oct 28 2004 1:38 pm
From: Andrew Thompson <[EMAIL PROTECTED]> 

On 28 Oct 2004 13:25:41 -0700, PX wrote:

> Greetings,

Hello again.  Please do not multi-post PX.
<http://www.physci.org/codes/javafaq.jsp#xpost>

-- 
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: Midlet app size and web services - most efficient way of connecting?!?
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/ebe729f64ca8414e
==========================================================================

== 1 of 1 ==
Date:   Thurs,   Oct 28 2004 1:46 pm
From: "davout" <[EMAIL PROTECTED]> 

I'm about to start a project to build a (fat client) Java midlet for a 
mobile phone smart device. The midlet has to call a number of different 
server side web services.

For a Java Swing client application I'd normally pass the web service WSDL 
thru a utility to generate a set of client side classes that assume 
responsbilty for generating the web service XML calls. However, this 
approach does generate a lot of java client side code, and I'm wondering 
whether these smart devices have the capacity to handle these volume of Java 
code.

Should I think about a different approach - like using a command procesor 
pattern web service?  This would require the midlet to build a XML message 
that included the real business tier service/method names and its 
parameters. The command pattern web service at its end would decypher this 
XML structure and pass on the instruction to the required business tier.

Does anybody have any thoughts on how best to proceed?






==========================================================================
TOPIC: exception handling problem
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/75dffc1e26b79688
==========================================================================

== 1 of 1 ==
Date:   Thurs,   Oct 28 2004 1:50 pm
From: [EMAIL PROTECTED] (Gurunath M.) 

Hi,

> well why do you have to do it with a string?

   There are two categories of Datatypes in Java. primitive
(consisting of int, float, double, char, boolean etc) and reference
(consisting of all the classes that you can see in the Java API and
more).
    A string is a reference datatype.
    A primitive datatype can never be null, while reference datatype,
which being a reference to an object, can be null.
    Hence u have to Check for null value of String (or any reference )
but not for any primitive data type.
    Try to go throught this link. 
    http://java.sun.com/docs/books/tutorial/java/nutsandbolts/datatypes.html

    Regards,
    Gurunath M.




==========================================================================
TOPIC: Contructor bad practices----WAS: Re: Can someone use invokeLater()...
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/70ac1bf0cc54a090
==========================================================================

== 1 of 3 ==
Date:   Thurs,   Oct 28 2004 1:54 pm
From: "Stefan Schulz" <[EMAIL PROTECTED]> 

On Thu, 28 Oct 2004 19:05:28 GMT, Thomas G. Marshall  
<[EMAIL PROTECTED]> wrote:

>
> Which is not the issue, and would not happen in my scenario.  It is when  
> a method in the sub class /overrides/ such a method in the superclass.   
> Not
> just when something extends that (super)class.

My point is, it _can_ happen anytime you extend the superclass and  
overwrite
_any_ method. It breaks encapsulation, and therefore is not a good idea.

-- 

Whom the gods wish to destroy they first call promising.



== 2 of 3 ==
Date:   Thurs,   Oct 28 2004 3:08 pm
From: "xarax" <[EMAIL PROTECTED]> 

"Stefan Schulz" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Thu, 28 Oct 2004 16:47:37 GMT, Thomas G. Marshall
> <[EMAIL PROTECTED]> wrote:
>
> >> I would be strongly against having a warning pop up when you implement
> >> a subclass of such a class.
> >
> > But *no one* is advocating that.  I am suggesting that when:
> >
> >         *a method* of a subclass overrides a method
> >         of a super class that is called by the superclass's
> >         constructor
> >
> > that a warning should occur.  Not on any extension of such a class, no.
>
> That is exactly what would happen. If i would implement a Subclass, and
> override method A, suddenly my compiler would tell me "Don't do that,
> whoever wrote the Superclass calls that method in the constructor". So
> encapsulation is down the drain.
>
> If you want a warning, put it when you implement the constructor
> that relies on such "unreliable" methods.

And if you want to make such a method "reliable",
just add "final" to the method signature.

Otherwise, we should trust the programmer to know
that non-final, non-private instance methods can be
overridden in subclasses and the programmer is ok with
that.

OTOH, a "lint" type utility may exist that can provide
such a warning for superclass. That is probably where
the warning belongs (in a lint utility rather than the
compiler).

2 cents worth.





== 3 of 3 ==
Date:   Thurs,   Oct 28 2004 6:22 pm
From: "Thomas G. Marshall" <[EMAIL PROTECTED]> 

Stefan Schulz coughed up:
> On Thu, 28 Oct 2004 19:05:28 GMT, Thomas G. Marshall
> <[EMAIL PROTECTED]> wrote:
>
>>
>> Which is not the issue, and would not happen in my scenario.  It is
>> when a method in the sub class /overrides/ such a method in the
>> superclass. Not
>> just when something extends that (super)class.
>
> My point is, it _can_ happen anytime you extend the superclass and
> overwrite
> _any_ method. It breaks encapsulation, and therefore is not a good
> idea.

Which isn't what you said, but fine----let's run with that.  Yes of course
it's bad, we've all been over this, now given that, /why/ don't you want a
warning for it?

-- 
Onedoctortoanother:"Ifthisismyrectalthermometer,wherethehell'smypen???"







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

== 1 of 2 ==
Date:   Thurs,   Oct 28 2004 2:01 pm
From: "hilz" <[EMAIL PROTECTED]> 

> Do you mean the standard API?
> <http://java.sun.com/j2se/1.5.0/docs/api/overview-summary.html>
> ..or if you are feeling brave, try the 'FRAMES' link at the top.


Andrew, just out of curiosity, why would it require someone to feel brave to
try the 'FRAMES' link!?






== 2 of 2 ==
Date:   Thurs,   Oct 28 2004 2:25 pm
From: Andrew Thompson <[EMAIL PROTECTED]> 

On Thu, 28 Oct 2004 21:01:48 GMT, hilz wrote:

>> Do you mean the standard API?
>> <http://java.sun.com/j2se/1.5.0/docs/api/overview-summary.html>
>> ..or if you are feeling brave, try the 'FRAMES' link at the top.
> 
> Andrew, just out of curiosity, why would it require someone to feel brave to
> try the 'FRAMES' link!?

The influx of information that results from the frames
based document has, on past occasions, frozen my poor,
challenged OS component.  :-(

The 'package overview' is the ever reliable stand-by,
and good if you have a slow connection.

-- 
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: Apache Referencing META-INF Directory
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/c8128b3e03cc879b
==========================================================================

== 1 of 1 ==
Date:   Thurs,   Oct 28 2004 1:55 pm
From: [EMAIL PROTECTED] (Gary V) 

[EMAIL PROTECTED] (Gary V) wrote in message news:<[EMAIL PROTECTED]>...
> I am using apache 2.0 and when I attempt to load a Java jar file, from
> within an html page, it writes the following error message to the log
> file:
> 
>     File does not exist: /usr/local/apache2/htdocs/java/META-INF
> 
> The Apache DocumentRoot directory is /usr/local/apache2/htdocs.
> 
> I included a Meta file when creating the .jar file but then what causes
> Apache to access this directory?
> 

After installing this Java application on a system with Apache 1.3,
the error message was defined further to include an exact file name in
the error message:

<apache root>/META-INF/services/javax.xml.parsers.DocumentBuilderFactory

As I understand it, this is one of the locations a class will look for
a service provider configuration file. The applet seems to run fine
regardless of the error and I was able to eliminate the error by
creating a zero length file with this name. As an alternative, is
there an apache configuration setting I could use to prevent the error
in the first place? Or am I approaching this wrong?

Gary V




==========================================================================
TOPIC: Naming Exception org.jnp.interfaces
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/b1e1073eaf98e6cb
==========================================================================

== 1 of 1 ==
Date:   Thurs,   Oct 28 2004 3:05 pm
From: "HS1" <[EMAIL PROTECTED]> 

Hello all

When I run my Java application, there are error:

Naming Exception
Cannot instantiate class: org.jnp.interfaces.NamingContextFactory

I do not have any idea about this
If you have any clue, please help.....

Thank you
S.H1






==========================================================================
TOPIC: Apache Axis and JDK1.5
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/b141c30d01c801f4
==========================================================================

== 1 of 1 ==
Date:   Thurs,   Oct 28 2004 3:56 pm
From: "Mike Schilling" <[EMAIL PROTECTED]> 

"Jacob" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Apache Axis 1.1 doesn't work well with JDK1.5
> due to naming problems (using "enum" as package
> name).
>
> What is the workaround?

Try the "-source 1.4" flag on javac. 






==========================================================================
TOPIC: input text that goes right to left
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/667fd022ae56338d
==========================================================================

== 1 of 2 ==
Date:   Thurs,   Oct 28 2004 4:00 pm
From: "ROBT NISHIDA" <[EMAIL PROTECTED]> 

Hi,

I am new to java. Am creating a math page for teachers.  I have math 
problems where the input needs to be right to left (e.g. adding two several 
digit numbers in a column).  Is there an easy way to specify that the text 
insertion point needs to move from right to left instead on the standard 
left to right?  I tried the direction property, but that doesn't seem to 
work.

kd 





== 2 of 2 ==
Date:   Thurs,   Oct 28 2004 4:27 pm
From: "VisionSet" <[EMAIL PROTECTED]> 



"ROBT NISHIDA" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I am new to java. Am creating a math page for teachers.  I have math
> problems where the input needs to be right to left (e.g. adding two
several
> digit numbers in a column).  Is there an easy way to specify that the text
> insertion point needs to move from right to left instead on the standard
> left to right?  I tried the direction property, but that doesn't seem to
> work.
>

Throughout the Swing (AWT?) API there is facility for those
languages/cultures that are used to reading top right to bottom left.
I'd bet that this facility carries through to text entry.

Have a look at this:

JTextComponent.setComponentOrientation(ComponentOrientation o)

--
Mike W






==========================================================================
TOPIC: MMS Protocol and JMF
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/c858bbcbd26b2947
==========================================================================

== 1 of 1 ==
Date:   Thurs,   Oct 28 2004 4:23 pm
From: "Lee" <[EMAIL PROTECTED]> 


"Andrew Thompson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Thu, 28 Oct 2004 18:36:43 GMT, Lee wrote:
>
> (A.T.)
> >>>> If it is something that can only cater to Windows Media Player,
> >>>> I would suggest that .NET might be a better way to go on this one.
> ...
> > Yes MMS is Microsoft's streaming media technology and is available
primarily
> > to WMP but can also be played (although I haven't tested it) through
Xine
> > (and maybe other players).
> >
> > Now the rules of the protocol have not been officially released, but
there
> > has been some good work by thet SDP team at http://sdp.ppona.com in
> > attempting the document the protocol and they have produced software
that
> > downloads the streams. JavaMMS has built on this work and released a
Java
> > version of the SDP program, but I cannot get it to work properly.
> >
> > It is not a trivial matter to try and connect to a MMS server without
WMP
> > because it has already been done. I just wanted to see if anyone has
looked
> > at the problem using Java.
>
> With that further information, I hope you get your answer,
> but I still suspect that .NET is a far better choice of
> platform/language for this purpose.
>
> I think you are fighting an uphill battle to successfully use
> a protocol for which the "rules of the protocol have not been
> officially released" and is therefore seemingly open to change
> at MS' whim.
>
> My 2c worth.
>
> --
> 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

I suppose you're right. But do think Microsoft would change mms a lot?
Wouldn't it be a lot of hassle?






==========================================================================
TOPIC: java rtsp
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/78e64854ed16c96a
==========================================================================

== 1 of 1 ==
Date:   Thurs,   Oct 28 2004 4:26 pm
From: "Lee" <[EMAIL PROTECTED]> 


"Paul Lutus" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> maquill wrote:
>
> > hi guys,
> > I'm a newbie in java programming and I'd like to receive suggestions
> > how to design and write java code (to be put on computer B) that has
> > to receive a rtsp request from a client A and consequently has to make
> > a rtsp request to a source of streaming video (C) (only the client A
> > must visualize the content)
> >
> > How would you solve this problem?
>
> For this homework problem, I personally would consider the idea of writing
a
> Java computer program. How did yours turn out? Are you planning to show us
> your code?
>
> --
> Paul Lutus
> http://www.arachnoid.com
>


Try this:
http://java.sun.com/products/java-media/jmf/2.1.1/solutions/RTPConnector.htm
l






==========================================================================
TOPIC: Beginner) About the Timer using in separate class
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/466241af75596bd5
==========================================================================

== 1 of 1 ==
Date:   Thurs,   Oct 28 2004 4:55 pm
From: "Ann" <[EMAIL PROTECTED]> 


"Oscar kind" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hade Prince <[EMAIL PROTECTED]> wrote:
> > here is my question, and I have 3 more hours by the deadline...
>
> We don't care. That's due to your lack of planning.

Here is a class that I made by modifying some code I found on the web.
It is not exactly what you want, but you might learn something from it.
--------------------
ClockLabel zLabel = new ClockLabel("steponme", SwingConstants.CENTER);
--------
// class to create a JLable and put the time of day into it
static class ClockLabel extends JLabel implements ActionListener
{
  SimpleDateFormat formatter = new SimpleDateFormat("MM/dd/yy HH:mm:ss");
  ClockLabel(String text, int horizontalAlignment)
  {
    super(text, horizontalAlignment);
    Timer t = new Timer(1000, this); // (refresh every 1 second)
    t.start();
  }
  public void actionPerformed(ActionEvent e)
  {
    // do the work here
    setText((formatter.format(new Date())).toString());
  }
}






==========================================================================
TOPIC: MIDLet newbie questions
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/4fe913f96a7b75ac
==========================================================================

== 1 of 1 ==
Date:   Thurs,   Oct 28 2004 5:44 pm
From: "Rhino" <[EMAIL PROTECTED]> 

I've been toying with the idea of writing some MIDlets for my PDA for quite
a while. I think I'm just about ready to give it a try but I need to get
some basic questions out of the way first.

I started by looking at Darryl Pierce's MIDlet FAQ at
http://bellsouthpwp.net/m/c/mcpierce/j2mefaq.html. I'm afraid that some
parts of it are a bit over my head and assume a bit more prior knowledge
than I have so please don't RTFM me ;-) I've been coding in Java since the
1.02 JDK but I've never tacked anything like J2ME before so please bear with
some silly newbie questions if you can....

I'm getting a bit confused about everything I need to have in place before I
can write some code. By the way, the device I want to write for is my new
Palm Tungsten E running Palm OS 5.2.1. (It would be neat if the code I write
can also run successfully on some of my friends' PDAs but I don't know
offhand exactly what models or OS versions they have so I suppose I'll just
worry about my own PDA for now; however, if it is fairly easy to write
MIDlets that work on other PDAs, please tell me what else I need to do.)

Darryl's FAQ says I need:
- at least a JDK 1.3 (or higher); I have JDK 1.5 beta2
- the reference iimplementation for the targeted profile; I downloaded
MIDP-2.0 because that is what my PDA runs
- the reference implementation for the targeted configuration; I downloaded
CLDC-1.1 because that is what my PDA runs
- Ant (I already had Ant 1.6.1 on my system)

(By the way, I downloaded the MIDlet HQ and the Java Demo for my Tungsten E
when I installed the optional applications; the Java Demo tells me that I am
running MIDP-2.0 and CLDC-1.1.)

I assume that the above items will be sufficient to develop code, once I get
it set up properly. However, I'm not sure what I need to *do* with the CLDC
and the MIDP reference implementations.

I created a MIDlet project in Eclipse, my development IDE, and created a
class to hold the HelloWorld code that Darryl gives in the FAQ. However,
none of the imports works, including Command, CommandListener, Display,
Displayable, Form and MIDlet (all prefixed by 'java.microedition.lcdue.').
All of these classes are in the MIDP zip file. To what destination should I
unzip the files in the zip file? Also, to what destination should I unzip
the CLDC zip file? Do I need to do anything beyond unzipping these zip
files, such as compiling something?

Is it a good or bad idea to do my development in Eclipse (2.1.3)? I'm not
sure if it would be better to keep my Midlet development activities separate
from Eclipse or not. If I am better off to avoid Eclipse, how should I do my
development? (I am not afraid of using the command line if that is better.)

I also need to test my code when it is written. From the FAQ, I know that
there are a variety of emulators that enable me to test on my PC before
trying the code on the PDA. Since I have no experience with any of the tools
suggested in the FAQ, I downloaded the latest Sun Wireless Toolkit. Is that
a good move under the circumstances or would I be better to use the Palm OS
5 emulator?

Am I correct in believing that the only thing I need to do to sent my tested
application to the PDA is HotSyncing it via the cable?

Sorry for the long post but I guess I have several issues that I need to
sort out before I can start developing so I thought I'd ask all the critical
questions at once ;-)

Rhino











-- 
Rhino
---
rhino1 AT sympatico DOT ca
"There are two ways of constructing a software design. One way is to make it
so simple that there are obviously no deficiencies. And the other way is to
make it so complicated that there are no obvious deficiencies." - C.A.R.
Hoare






==========================================================================
TOPIC: Sinking in the JAVA quicksandbox
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/c50f4e3273d0e1bb
==========================================================================

== 1 of 2 ==
Date:   Thurs,   Oct 28 2004 6:04 pm
From: [EMAIL PROTECTED] (Tim Jowers) 

Andrew Thompson <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> On 28 Oct 2004 08:51:28 -0700, S J Rulison wrote:
> 
> > A few days ago I posted a message ..
> 
> Yes, I saw it..
> <http://google.com/[EMAIL PROTECTED]>
> 
> Why did you start a new thread?  
> 
> While we are on the subject, why did you give the new thread a 
> silly name of "Sinking in the JAVA quicksandbox" (It's 'Java' BTW), 
> rather than something useful and descriptive like 'Applet 
> socket SecurityException'?
> 
> And further, how did you go with the advice I gave you late in the thread..
> <http://google.com/[EMAIL PROTECTED]>
> 
> > ..I have recapped the crux of the situation below.  
> 
> Can you perhaps respond to my suggestions before you go
> calling for further help?  It might save everybody time,
> and you from slipping beneath the quicksand..   ;-)


RJ,

Andrew is correct. One the hot features of Java Applets was/is
sandboxing which means you cannot generally access the network or
filesystem from an applet. You can only access the server from which
you came to the browser and can access a scratch space on the disk
(sandbox). (This is why it works on your box but not when you try to
hit the server remotely.) Gotta sign that applet.

You can do it for free but then your user has to accept the applet.

TimJowers



== 2 of 2 ==
Date:   Thurs,   Oct 28 2004 6:57 pm
From: [EMAIL PROTECTED] (S J Rulison) 

Andrew Thompson <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> On 28 Oct 2004 08:51:28 -0700, S J Rulison wrote:
> 
> > A few days ago I posted a message ..
> 
> Yes, I saw it..
> <http://google.com/[EMAIL PROTECTED]>
> 
> Why did you start a new thread?  
> 
> While we are on the subject, why did you give the new thread a 
> silly name of "Sinking in the JAVA quicksandbox" (It's 'Java' BTW), 
> rather than something useful and descriptive like 'Applet 
> socket SecurityException'?
> 
> And further, how did you go with the advice I gave you late in the thread..
> <http://google.com/[EMAIL PROTECTED]>
> 
> > ..I have recapped the crux of the situation below.  
> 
> Can you perhaps respond to my suggestions before you go
> calling for further help?  It might save everybody time,
> and you from slipping beneath the quicksand..   ;-)

1.      I started a new thread because, a lot had changed since the first
thread and I wanted to narrow down the scope of the problem to a more
specific area that's directly on point. In addition, if you had bother
to read the entire, thread you would have noticed that the last post
suggested that I start a new thread.

2.      The title may be a bit on the silly side but I didn't think that
some jerk would get all bent out of shape about it and it does sort of
describe my situation.

3.      I tried adjusting the security settings on the web browser DAH, it
didn't help.

4.      I checked into signing the applet and I guess if I have to go there
I will but that really seems like its overkill for solving this
problem.

5.      If you read my post in the new thread, you would see that I am
interested in learning how to override the methods in the
SecurityManager and which programs APPLET or APPLICATION should be
modified.

6.      .  I am not really interested downloading java webstart and trying
to learn how that works.

If you want to help I would really appreciate it but if all I'm going
to get is a  [EMAIL PROTECTED] attitude from you, please save it for somebody
else.  I've spent a lot of time working on this and I don't need to
see this crap staring back at me at the end of the day!




==========================================================================
TOPIC: Customized axis value in JFreeChart
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/cdedee6d1f53c2f5
==========================================================================

== 1 of 1 ==
Date:   Thurs,   Oct 28 2004 6:15 pm
From: [EMAIL PROTECTED] (Avatar Viper) 

Oscar kind <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> Avatar Viper <[EMAIL PROTECTED]> wrote:
> >> > I am using JFreeChart 0.921
>  
> > Is there a way to override some of the classes to customized the axis???
> 
> Probably. jFreeChart uses the LGPL licence, and the sources are included.
> At least is says so on the main page of the website of jFreeChart...
> 
> So why don'ty you give it a try?

Got any examples to show me. Thx.



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

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