This is the code where I receive what I sent:
public class ReceiveMsgFromWsn implements ConstantsIfc{
AckReplyMsg ackReplyMsg;
NodeCtrlMsg nodeCtrlMsg;
NodeQueryMsg...
Type: Posts; User: Simple
This is the code where I receive what I sent:
public class ReceiveMsgFromWsn implements ConstantsIfc{
AckReplyMsg ackReplyMsg;
NodeCtrlMsg nodeCtrlMsg;
NodeQueryMsg...
Ok this is my GUI file:
public class icmsv3MainFrame extends javax.swing.JFrame implements ConstantsIfc{
/** Creates new form icmsv3MainFrame */
public static final Color red =...
The method receivingMsg() is in another class file.
Basically, what I'm trying to do is receive the data via the receivingMsg method and store the variable
'ackDataString' into the set method. ...
Hey Norm!
Thanks a lot for your suggestion!
Now that I am able to receive what I sent, I have a problem displaying it onto my main GUI
to show what I have received.
In my GUI class, I have...
yea I am, but not a strong one. I was just wondering though.
I will see what I can change to get the values via the get methods.
Thanks.
Regards
Could I ask, if writing into a file, will it clear the values being set in the variables?
That's for the use of a hardware device.
But the main question is, is there any way, by using get and set methods, after sending the values using the set methods, I am able to receive values that I...
Its basically just a get and set method:
}
/**
* Return the value (as a short) of the field 'srcMoteId'
*/
public short get_srcMoteId() {
Whoops, my bad.
It's more to methods.
Here are some snippets:
(this is where i set the values using my GUI)
else if(cmd.equalsIgnoreCase(NODEQUERY_CMD)){...
Hi guys!
I have a problem with getting values after I set them.
Before setting the values, I created 3 send files to send different kinds of messages and 3 receive files to receive the messages...
Solved!
Thanks o:-)
Hi guys,
I have a question regarding my learning stage in java programming.
Basically when I run the project, a GUI comes out.
There is a combobox that I created to get the different names in...
Hi Json,
I plugged a Prolific USB-to-Serial Comm Port into one of my USB ports. The cable is linked from my PC's USB to the x10 protocol which is CM12U. My guess is that CM12U and CM11A are the...
Hi,
I stumbled upon a URL which I did a month back and I didnt realise that it was of use.
The link is:
http://www.x10pro.com/pro/pdf/cm11a_protocol.txt
However, I was told that the x10 API...
Hi,
Thanks JSon. I forgot to key in JLabel empty = new JLabel(""); to give the label a null value. Now I guess the only issue I have left is with the X10 API on how do I read values from the...
Hi I'm back. I've found an example on the x10 API.
Now I guess I have a problem with java.comm. I've been trying to develop a GUI so that when I start the
x10SerialServer, a GUI comes out to...
Hi Json,
Thanks for the reply and hints. I guess the only problem I have now is programming. Realizing that the APIs are given to me, I guess I have to start working on it. If there is any...
Hi,
I'm new to this forum and I wish to post a query that I'm facing now.
I have an assignment to do and yes I admit I'm very bad in my Java programming.
My assignment requires me to control...