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...
Type: Posts; User: shadihrr
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...
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...
are you sure that the question is right? I think in sample output the 4th row should be like this: @ 4 @ 4 @
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...
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...
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...
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...
thanks to all your answer they were helpful!! :)
I want to know about its affection on speed
I want to know what happened in hardware when you use bufferedReader(/Writer)
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!!
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 )
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...
you could add the arraylist's content to a string and use JOptionPane to show your string
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)
...
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...
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...
that was awesome.thanks!
Would you please tell me which command I have to send to Runtime exec?
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
Hi,
I need to open a specific Image with for example windows picture viewer.
how i could run it?
You call constructor of MyClass. this code allocate a memory and by adding handler you could use this class's methods and variables.
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?
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...