Search:

Type: Posts; User: devett

Search: Search took 0.39 seconds.

  1. Re: EventQueue.invokeLater VS SwingUtilities.invokeLater

    Thank you!
  2. Re: EventQueue.invokeLater VS SwingUtilities.invokeLater

    I'm not trying to be arrogant sorry, I'm just trying to learn having come over from the .NET world. I tried to find the link, but I thought I read somewhere yesterday that they said when Swing was...
  3. Re: EventQueue.invokeLater VS SwingUtilities.invokeLater

    That's really not helping me. I've always used SwingUtilities.invokeLater(new Runnable); but recently installed Eclipse 3.7 Indigo and with the WindowsBuilder when you build a new JFrame project...
  4. EventQueue.invokeLater VS SwingUtilities.invokeLater

    Can anyone tell me is there a difference between these, is one perfered over the other and why would I want to use one over the other?
  5. Replies
    3
    Views
    1,384

    Re: Connection Time Out

    Here is the error!
    [hightlight=java]
    java.net.ConnectException: Connection timed out
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown...
  6. Replies
    3
    Views
    1,384

    Connection Time Out

    I have an application that will continually process an XML file called data.xml for up to 12 devices from a web service and parse the data for my client machine at another location. My dilemma is...
  7. Re: ObjectOutputStream more than one on same socket

    I'll try instance of thanks. That just means having the web service data read seperatly before I create the output stream and then checking if it's an instance of an ImageIO probably.
  8. ObjectOutputStream more than one on same socket

    I'm still new to sockets so bare with me, here is what I'm trying to do. I have socket that sends an image constantly to a client (details in "sending images client/server sockets") but I also need...
  9. Re: need help connecting to linux server and execute linux commands using local java

    Are you looking to run linux commands from the Java application? If so one way I used that works well is:


    String[] commandShutdown = {
    "gnome-terminal",
    "-e",
    "sudo /sbin/shutdown -h...
  10. Replies
    7
    Views
    7,193

    Re: sending images client/server sockets

    Here is a better look at the code:

    server code:

    package server;

    import java.awt.image.BufferedImage;
    import java.io.IOException;
    import java.io.ObjectOutputStream;
    import...
  11. Replies
    7
    Views
    7,193

    Re: sending images client/server sockets

    I just had to put the call to the URL in a while (true)
    <highlight=Java]
    while (true) {
    URL url = new URL ...
    down to the ood.writeObject(byteImage);
    [/hightlight]

    and on the client I...
  12. Replies
    7
    Views
    7,193

    Re: sending images client/server sockets

    I knew it had to be simple, I figured it out!!!!
  13. Replies
    7
    Views
    7,193

    Re: sending images client/server sockets

    I'm stuck on getting the image to continaully feed itself the client. The client shows the image as a stream where they can double click the client and move it. The client needs to act as a live...
  14. Replies
    7
    Views
    7,193

    Re: sending images client/server sockets

    What I'm stuck on is getting the image to continually feed from the server to the client as long as the client is open. The image is always named oneshotimage but it is always a new image. I get it...
  15. Replies
    7
    Views
    7,193

    sending images client/server sockets

    I have a camera that monitors conditions outside via a webserver, I can't use a webservice so I currently use JBoss to send the images through queue's and topics. I feel JBoss is overkill for what I...
Results 1 to 15 of 15