This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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: 41599
    
  55
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: 19674
    
  18

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