Search:

Type: Posts; User: Simple

Search: Search took 0.09 seconds.

  1. Replies
    18
    Views
    2,276

    Re: Able to set, but not get values

    This is the code where I receive what I sent:


    public class ReceiveMsgFromWsn implements ConstantsIfc{

    AckReplyMsg ackReplyMsg;
    NodeCtrlMsg nodeCtrlMsg;
    NodeQueryMsg...
  2. Replies
    18
    Views
    2,276

    Re: Able to set, but not get values

    Ok this is my GUI file:



    public class icmsv3MainFrame extends javax.swing.JFrame implements ConstantsIfc{

    /** Creates new form icmsv3MainFrame */

    public static final Color red =...
  3. Replies
    18
    Views
    2,276

    Re: Able to set, but not get values

    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. ...
  4. Replies
    18
    Views
    2,276

    Re: Able to set, but not get values

    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...
  5. Replies
    18
    Views
    2,276

    Re: Able to set, but not get values

    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
  6. Replies
    18
    Views
    2,276

    Re: Able to set, but not get values

    Could I ask, if writing into a file, will it clear the values being set in the variables?
  7. Replies
    18
    Views
    2,276

    Re: Able to set, but not get values

    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...
  8. Replies
    18
    Views
    2,276

    Re: Able to set, but not get values

    Its basically just a get and set method:



    }

    /**
    * Return the value (as a short) of the field 'srcMoteId'
    */
    public short get_srcMoteId() {
  9. Replies
    18
    Views
    2,276

    Re: Able to set, but not get values

    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)){...
  10. Replies
    18
    Views
    2,276

    Able to set, but not get values

    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...
  11. Replies
    2
    Views
    7,423

    [SOLVED] Re: Get Data From Database MySQL using ComboBox

    Solved!

    Thanks o:-)
  12. Replies
    2
    Views
    7,423

    [SOLVED] Get Data From Database MySQL using ComboBox

    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...
  13. Thread: X10 Java API

    by Simple
    Replies
    10
    Views
    4,008

    Re: X10 Java API

    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...
  14. Thread: X10 Java API

    by Simple
    Replies
    10
    Views
    4,008

    Re: X10 Java API

    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...
  15. Thread: X10 Java API

    by Simple
    Replies
    10
    Views
    4,008

    Re: X10 Java 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...
  16. Thread: X10 Java API

    by Simple
    Replies
    10
    Views
    4,008

    Re: X10 Java API

    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...
  17. Thread: X10 Java API

    by Simple
    Replies
    10
    Views
    4,008

    Re: X10 Java API

    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...
  18. Thread: X10 Java API

    by Simple
    Replies
    10
    Views
    4,008

    X10 Java API

    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...
Results 1 to 18 of 19