Search:

Type: Posts; User: shadihrr

Search: Search took 0.15 seconds.

  1. Replies
    4
    Views
    1,231

    Re: creating mysql proxy

    yes that is exactly what happened. Server is block until the client sends something and it doesn't send anything so the server is block for ever. I don't want this. I want to read the packages that...
  2. Replies
    4
    Views
    1,231

    Re: creating mysql proxy

    I don't know if SSCCE has a special format or not. But here is the example:
    client sends a request for connecting to a database server: for example at localhost:4444
    My server runs at...
  3. Replies
    4
    Views
    562

    Re: power of looping >.< in my project

    are you sure that the question is right? I think in sample output the 4th row should be like this: @ 4 @ 4 @
  4. Replies
    2
    Views
    450

    Re: Simple Question

    I think it is good to use a little object oriented programming. for example create a class "stock" and add for example paid variable in it. In this way you have a better code and you can write more...
  5. Replies
    4
    Views
    1,231

    creating mysql proxy

    Hi everybody

    I want to read mysql connection info with java. For example I made a server socket with java on port 4444. Then I made a jdbc driver with url "jdbc:mysql://127.0.0.1:4444/mysql". My...
  6. Thread: Image Load

    by shadihrr
    Replies
    4
    Views
    660

    Re: Image Load

    thanks for your posts. if this is about the second question I want to make a special area (for example a rectangle) as a component that has graphical features and could handle actions( for example...
  7. Thread: Image Load

    by shadihrr
    Replies
    4
    Views
    660

    Image Load

    Hi All!!!
    I wrote an applet class which has two panel: one panel is for program options contains a JcomboBox and the other has 1000 buttons(why 1000 button? see rest of the post I have questions on...
  8. [SOLVED] Re: difference between fileReader and bufferReader

    thanks to all your answer they were helpful!! :)
  9. [SOLVED] Re: difference between fileReader and bufferReader

    I want to know about its affection on speed


    I want to know what happened in hardware when you use bufferedReader(/Writer)
  10. Thread: if and else

    by shadihrr
    Replies
    9
    Views
    1,546

    Re: if and else

    I meant that you have to remove a specific component by using component's remove method
    I mention that it depends on the whole code to do it!!
  11. Thread: if and else

    by shadihrr
    Replies
    9
    Views
    1,546

    Re: if and else

    you have to try remove method to clear it and then call revalidate(); method to refresh your page (it depends on your whole code of course )
  12. [SOLVED] difference between fileReader and bufferReader

    hi all
    I try to understand what is the difference between fileReader and buffered reader i know that fileReader get hard disk and that makes the program slow but i can't figure it out so what...
  13. Replies
    2
    Views
    1,966

    Re: Displaying things in gui

    you could add the arraylist's content to a string and use JOptionPane to show your string
  14. Replies
    1
    Views
    1,057

    Loading Images and Edit it

    Hi all
    I want to load an image on my panel and then change the position of it when user dragged the image.
    (I know about working with image so little any extra information would be so helpful)
    ...
  15. Replies
    3
    Views
    3,129

    Re: jbutton and action event

    you have to add an actionListener to your button like this:
    yourButtonName.addActionListener(new actionListener(){.....});
    actionListener is an interface so you have to over write the method...
  16. Replies
    1
    Views
    810

    Getting information from a folder

    Hi!
    I recently download an application named dropbox. This application create a folder named public so you can share what in it on internet.when you right click on your files it gives you an url...
  17. Replies
    6
    Views
    2,134

    Re: Calling method from .class file

    that was awesome.thanks!
  18. Replies
    3
    Views
    540

    Re: Openning Image with java

    Would you please tell me which command I have to send to Runtime exec?
  19. Thread: Hi all

    by shadihrr
    Replies
    2
    Views
    434

    Hi all

    Hello
    I'm Shadi and I'm very glad to join this forum. I'm from Iran.
    I'm here to learn Java more.I'm good in java but I think it's not enough.
    Best Regards
  20. Replies
    3
    Views
    540

    Openning Image with java

    Hi,
    I need to open a specific Image with for example windows picture viewer.
    how i could run it?
  21. Replies
    2
    Views
    520

    Re: simple question...

    You call constructor of MyClass. this code allocate a memory and by adding handler you could use this class's methods and variables.
  22. Replies
    6
    Views
    2,134

    Re: Calling method from .class file

    I have a question which i think is relevant to this topic. Is there any application that read a .class file and convert it to .java?
  23. Replies
    1
    Views
    551

    Re: Help with GUIs please & methods

    I guess you have to write three GUI classes, student, teacher and staffs and when you run each button the listener should call them. or you could repaint your GUI and add the relevant table to your...
Results 1 to 23 of 23