Search:

Type: Posts; User: Fabgio

Search: Search took 0.33 seconds.

  1. Replies
    4
    Views
    306

    [SOLVED] Re: Concurrent Modification Exception

    Yes I got it thanks a lot
  2. Replies
    4
    Views
    306

    [SOLVED] Re: Concurrent Modification Exception

    Yes I am modifiying the data structure of mGroups over the loop which causes C.M.E. so which is the best way to solve the problem? I tried HashMap... but I got difficulties in implementing...
  3. Replies
    4
    Views
    306

    [SOLVED] Concurrent Modification Exception

    I have been developing an Android home automation application. Every Command belongs to a Group which describes a particular category of Commands, e.g. Warming management, lighting, etc....
  4. [SOLVED] Finding an object containg a given property in an ArrayList

    I have got the code listed below:


    class Address {
    String name;
    String street;
    String city;
    String state;
    String code;
  5. Replies
    3
    Views
    562

    [SOLVED] Re: Passing parameters to an Applet

    I have just solved the problem. Following your tip I verified the information source was present. So I commented out the HTML block and exported it to an HTML file. So everything works! I made a...
  6. Replies
    3
    Views
    562

    [SOLVED] Passing parameters to an Applet

    I am in the throws of passing parameters to an applet using getParameter method. I am completely new to HTML tags.
    Here is the code:


    import java.awt.*;
    import java.applet.*;
    /*
    *
    ...
  7. Re: Problems in reading/writing from/to a socket

    For information about Bticino my home system go to the following link:
    bticino - Local and remote control
  8. Re: Problems in reading/writing from/to a socket

    By the way, hanging around the Internet I found out a dedicated Java class performing what I need. Anyway thank you so much for your support!
  9. Re: Problems in reading/writing from/to a socket

    Basically I set up a thread just to give a sleep() to the main() with the aim to get any result. Still I desided to comment it out afterwards. So you could not take it into consideration.
  10. Problems in reading/writing from/to a socket

    I have been trying to send a command string to my domotics web server which is connected to a bus and then to my LAN. The command that has to be sent to the web server through the bus is a ...
  11. Replies
    7
    Views
    416

    Re: Confused with constructor

    Basically you need to define a non-static context if you want to use constructors.
    Here is a modified version of the code.
    Hope this will work properly


    public class ClassWork {
    ...
  12. Replies
    14
    Views
    748

    Re: Very Beginner...very frustrated...

    First and foremost you need to define the s symbol. It could be an instance variable or an object. If s were a cat type object you should define a "Cat" class. Therefore the s object would be...
Results 1 to 12 of 12