File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes plug-in project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

plug-in project

Yeonsil Yoon
Greenhorn

Joined: Mar 10, 2009
Posts: 2
Hi.. I'm really begineer in java...
I'm trying to change plug-in project file but it's not easy..

public class AccelerometerView extends ViewPart {
...
}
This class is used for making UI like panel, button, label, etc. and it called just once when program is launched.
Looks like this is not use constructor. The UI generated using application.start() (?).

public class AccelerometerData {
...
}
This class is used for handling socket data. It received data from socket.

What I'm trying to do is check the data in AccelerometerData and update the AccelerometerView.
But I don't know how to update the existing UI attribute ex. button name change.

I'm not sure even my question is correct..
Thank you!

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41823
    
  63
Is this some particular API you're using, or are you writing all these classes yourself? If the former, which one is it?


Ping & DNS - my free Android networking tools app
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19693
    
  20

Once is enough, thank you.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: plug-in project