There is query regarding the usage of attribute maxFilesQuantity.
Acutally while file upload ,i want to restrict to only one file upload.
The following code is used to upload the single file, but code is not working,here i mean to say, after one file get uploaded, again the add file option is availabe to add another file , i want to restrict to only single file upload. Please provide the solution to above problem.
Actually i am using the touch screen in my application, front end.
But the problem is ,on particular button i have added the event, mouse pressed and mouse released.
ie. in state of mouse pressed some task is performed and ,on release of mouse some other task gets executed.
all the task takes place when operations are performed throu mouse, but while using fingers on touch screen,
task don't get perform .
So please let me know any event which could work similar to mouse press and mouse release on touch screen.
write an application in which i display a JTable containig result from database. Everything works fine but i discover that JTable gives the user a chance to change columns' positions when the JTable is displayed. i want to prevent the user from doing this change in JTable's columns positions. How can i perform that.
hi, In my application ,i am using jTable. jTable consist of four column. At fourth column ,check box is being added,during run time.
So now the problem description. Suppose in database table there are four records,i get those records, and set them in jTable,with corresponding check box.
So now in jtable there are four records as well as four corresponding check box.
next ,when in table there are only two records,programtically i will get those records, set them again in jtable ,but now this time two records are set in jtable ,with corresponding check box,but the next two other rows also contain the check box.
Hi, In my application ,i am using udp sockets. The problem arise,when there is late reply,or no reply from the udp server,due to which timed out exception comes,as effect of this, my gui application gets hang,as i have used JOptionPane.showmessageDialog(null,"As the response of udp server"), to show response.
hi, I have an application, which deals with the client Server implementation. I use to send request to UDP server and in udp server class ,JOptionPane.showmessageDialog(null,"" ) is implemented in catch block, when ever there is delay in retrieval of response from server side. Since udp client socket waits for particular amount of time. I there is delay in response,or connection is not establish, jOptionPane gets pop.
But problem is that many times,when this jOptionPane pop come gui hangs.
Please do the favour by giving any suggestion. regards, Sachindra
hi, What i anaylized from your reply is as follows: On three different machine there would be running client and server both. But from one machine (through which is want to shutdown other two systems) Throu the client on A machine ,i would send a request to the other two machine,which would have there own server running.And They would execute, Runtime.exec(),to shutdown that particular machine.
But my query is ,could there be any way to directly hit shutdown,to remote machine, through our program. (may be throuh rmi ,but i don't have any idea about).
So please help in understanding me the situation. regards, Sachindra
Actually, We are planning to develop a client service which would be running at, client's end.Where the swing based application is running. That swing based application has hashtable which needs to be updated through the web services at run time.
Steps which are being performed: 1.There is database on one machine. 2.There is oneserver side web service running on server, which would be contineously pinging and retrieving the data from database. 3.And client web service would be continous ping this server web service and update the swing based hashtables. 4. need clarification for pre requisites on running the client web service.