comp.lang.java.programmer http://groups-beta.google.com/group/comp.lang.java.programmer [EMAIL PROTECTED]
Today's topics: * Is there a known algorithm for this? - 1 messages, 1 author http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/7782dfb489fc3ca6 * newbie RMI User - 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/af49b3bdfce876e4 * writing and reading objects - 1 messages, 1 author http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/42024eb362a85850 * Compiler trick - 1 messages, 1 author http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/a2992422eec9fe49 * Java Messenger Documentation - 1 messages, 1 author http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/68437a3765270bf3 ========================================================================== TOPIC: Is there a known algorithm for this? http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/7782dfb489fc3ca6 ========================================================================== == 1 of 1 == Date: Sat, Sep 18 2004 11:19 pm From: Gerald Rosenberg <[EMAIL PROTECTED]> Have not been able to Google very well for an answer, since I haven't a usable name for the algorithm/type of problem. In sum, I need to determine the least common denominator for the spacing of a one dimensional array of integers where the integers have a noise component. In practical terms, I have the Y-axis pixel locations of lines of text on a page (which are approximations) and need to determine whether any two adjacent text lines are single spaced, 1.5 spaced, or multiple spaced. Seems like there should be an analytic solution, but auto-correlation doesn't seem right. Some kind of quantized best-fit? Rather than continuing to guess, does anyone know the name of the algorithm for solving this type of problem. Is there a Java package that can solve this kind of problem? I have looked at Colt, but it does not provide a direct solution. Thanks, Gerald ========================================================================== TOPIC: newbie RMI User http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/af49b3bdfce876e4 ========================================================================== == 1 of 2 == Date: Sat, Sep 18 2004 11:40 pm From: "Paul Foreman" <[EMAIL PROTECTED]> >>>>>> RMI method Naming.lookup. All seemed well until I tried to >>>>>> use the applet in a browser. When I did this I got a 'notinited' >>>>>> message > >> The message in the Java Console was: "Problem with RMI URL >> java.rmi.UnmarshalException: error unmarshalling return; nested exception >> is: java.lang.ClassNotFoundException: access to class loader >> denied" > > Is you applet signed? The applet is not signed - If this is needed then I will have to learn how to do that. > > An applet running in JBuilder (or applet viewer) > has greater permission to access the local file-system > than one operating in a browser. The server and applet are being run on the same machine. Also I have created a new Java security policy file which gives all permissions to everything, as per the JBuilder tutorial. One question is would Jbuilder be using a different instance of Java than my browser? I do have three instances of Java J2RE1.4 installed on my PC, only one of them being in a JBuilder directory. Another area of concern is if the applet is pointing to the correct directory for the server classes. The applet does run under Jbuilder, so I have assumed that the necessary paths are in the Java classes, is it possible that this is not the case? How would I check to verify? Regards Paul == 2 of 2 == Date: Sun, Sep 19 2004 12:22 am From: Andrew Thompson <[EMAIL PROTECTED]> On Sun, 19 Sep 2004 06:40:43 +0000 (UTC), Paul Foreman wrote: >>>>>>> RMI method Naming.lookup. All seemed well until I tried to >>>>>>> use the applet in a browser. When I did this I got a 'notinited' >>>>>>> message >> >>> The message in the Java Console was: "Problem with RMI URL >>> java.rmi.UnmarshalException: error unmarshalling return; nested exception >>> is: java.lang.ClassNotFoundException: access to class loader >>> denied" >> >> Is you applet signed? > The applet is not signed - If this is needed then I will have to learn how > to do that. (pauses) I am not certain Paul. ( Where are you bloody RMI people? The 'Remote' does not mean you cannot talk to people! ;-) I would expect a 'SecurityAccessException' in circumstances like this, but it looks like that might be 'wrapped up' inside the UnmarshalException, OTOH the Java Glossary does not mention security in <http://mindprod.com/jgloss/runerrormessages.html#UNMARSHALEXCEPTION> and <http://mindprod.com/jgloss/applet.html#RESTRICTIONS> only mentions RMI in terms of a remote server.. That does not apply here does it? What is you are doing with classloaders? -- 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: writing and reading objects http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/42024eb362a85850 ========================================================================== == 1 of 1 == Date: Sun, Sep 19 2004 12:13 am From: Andrew Thompson <[EMAIL PROTECTED]> On Sun, 19 Sep 2004 11:01:48 +0530, Madhur Ahuja wrote: > I can't believe it has. I simple copy pasted from the actual > source file. I even verified compiling it before posting. Look at the lines below, carefully. They are directly quoted from your 2nd post. >>> public static void main(String args[]) >>> >>> >>> serial6 sr = new serial6(1); Where is the '{' after main()? I cannot understand what you were doing, but you seemed to be getting it wrong. Your second class was also declared 'public' which is something the link I referred you to specifically advises not to do. > ..I'll take care in the future. Please do. The second post you made was effectively 198 lines of wasted bandwidth. -- 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: Compiler trick http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/a2992422eec9fe49 ========================================================================== == 1 of 1 == Date: Sun, Sep 19 2004 12:28 am From: "dar7yl" <[EMAIL PROTECTED]> Joona I Palaste" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Your explanation is correct, however I think that Chris already knew > that. I just can't resist the urge to pontificate.... regards, Dar7yl ========================================================================== TOPIC: Java Messenger Documentation http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/68437a3765270bf3 ========================================================================== == 1 of 1 == Date: Sun, Sep 19 2004 12:48 am From: [EMAIL PROTECTED] (almaruf) Hi , I am a student of 2nd year computing. I choose a project titled Organisational messanger Service for my second year. I am confused about how to start ... and how to document this things .. Will I use SSADM or UML for my documentation ? ======================================================================= 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
