Re: UML designer...

2000-11-18 Thread Andreas Rueckert

Hi!

On Sam, 18 Nov 2000 Diego Pons wrote:



>> > I have, it is very good in my opinion, yet commercial.
>> 
>> You didn't specify 'free' in your request. ;)
>> 
>> Together had a 'blackboard' version earlier this year which was a free
>> download.

>I tested it, it had a feature missing that I needed very much at that point, 
>I think I couldn't print UML diagrams, but I can't be sure.
>It's a good tool to put together a design in a hurry and create the 
>stubs of the sources.

Yup! You can't print and only create class diagrams. But then you got full
roundtrip engineering and can edit your entire source code in the tool. OTOH
Argo 0.9 has sequence, state  and collaboration diagrams, but no roundtrip
engineering yet (but code generation). But the outstanding feature of Argo are
the critics. And it's true Opensource, so you can contribute.
I made up a list of several UML tools at
http://www3.cybercities.com/a/arueckert/uml/tools.html
, but Cybercities seems to be down at the moment.

Ciao,
Andreas



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Test

2000-11-18 Thread Poul Kristensen




 


imap java

2000-11-18 Thread Poul Kristensen




Hi,
 
I'm a very very novice in 
java.
 
Reading Steven Holzner's "Java 
1.2 Learning by Examples" I found an example, which would be 
very
useful for me in my 
work.
 
After succesfully compiling I use the 
appletviewer to test the applet.
 
The gif file is loaded succesfully. 
But when I move the mouse all over the
image nothing happens. I would expect 
the mouse to show when it hits the x and y  coordinates.
 
Does anyone have an 
idea? 
 
TIA
 
Poul / The Danish National Institute of Social 
Research
 
 
The code is as follows:
 
 
import java.applet.Applet;import 
java.awt.*;import java.awt.event.*;import java.net.*; 
public class imapx extends Applet implements 
MouseListener {
  Image 
Imap;
    public 
void 
init(){    
Imap = getImage(getCodeBase(), 
"bt_strategy.gif");    
addMouseListener(this);    
} 
    public 
void mousePressed(MouseEvent e) 
{  
URL newURL = 
null; 
int x = 
e.getX(); 
int y = 
e.getY(); 
if( x > 104 + 10 && x < 171 + 10 && y > 53 + 10 
&& y < 75 + 
10) 
{ 
try { newURL = new URL("http://www.prosa.dk");}   
catch (MalformedURLException e1 ) 
{}    
getAppletContext().showDocument(newURL);  
} 
if( x > 54 + 10 && x < 118 + 10 && y > 105 + 10 
&& y < 125 + 
10) 
{    
try { newURL = new URL("http://www.sfi.dk");}   
catch (MalformedURLException e2 ) 
{}    
getAppletContext().showDocument(newURL);  
}   
} 
    public 
void mouseClicked(MouseEvent e){}
    public 
void mouseReleased(MouseEvent e){}
    public 
void mouseEntered(MouseEvent e){}
    public 
void mouseExited(MouseEvent e){}
    public 
void mouseMoved(MouseEvent e){}
 
    public 
void paint (Graphics g) 
{   
g.drawImage(Imap, 10, 20, 240, 155, this); 
   
}} 
 
 
 
 


Re: imap java

2000-11-18 Thread Joi Ellis

On Sat, 18 Nov 2000, Poul Kristensen wrote:

> The gif file is loaded succesfully. But when I move the mouse all over the
> image nothing happens. I would expect the mouse to show when it hits the x and y  
>coordinates.
> 
> Does anyone have an idea? 

I think you need to implement this
> public void mouseEntered(MouseEvent e){}
and this
> public void mouseExited(MouseEvent e){}

They have do-nothing empty method bodies.

-- 
Joi EllisSoftware Engineer
Aravox Technologies  [EMAIL PROTECTED], [EMAIL PROTECTED]

No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried.  Anything
that kicks a monopoly in the pants has got to be good for something.
   - Chris Johnson


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]