java 2D tutorial site:edu
. Try to pick up another font file from your computer by search for *.ttf or post the ButtonFont.ttf so we can look into it and make some test.
and it's a custom font I made
problemwhen i open in second time jfilechooser when i want close...don't close.
nmohan kumar wrote:will the thread be availabe even if the server gets stopped?
actullay i am running my application on websphere server 6.0.i am using three thread classes.The problem is the server is getting stopped after two threads got finished.
In my servet ,i have coded like,
i want the third thread to be run after t1,t2 finished running.
and made the t3 waiting..but the application server gets stopped..
1.is it possible to restart the server,is there any code?
2.will the thread t3 be alive even after the server gets stoped?.
can anyone give me an idea on how to solve this issue?..
rmi tcp connection
CPU resource is being consumed over time in App 4.3 even when program test is idle.
Is there a way to acquire a permit from any semaphore in a collection? Similar to select() in Unix I/O programming: you have collection of stream handles and wait for data in any of them.
That is why I decided to mark each connection instance with the id of the thread that is allowed to work with it.
# * This is what happens:
# * Thread 1 obtains a connection and closes it again (connection gets released into the pool)
# * Thread 1 then notifies Thread 2 which was waiting.
# * Thread 2 obtains a connection and runs a query (no exception expected).
# * Thread 2 then notifies Thread 1 which was waiting.
# * Thread 1 uses the connection instance it previously closed which should now be locked (Exception expected).
Rob Prime wrote:What you want is a read-many-write-one lock: reading threads can have access unless another thread is writing; other reading threads are not a problem. Writing threads must wait until all other reading and writing threads have finished. don't know if this has been implemented in Java yet but it's not that hard to implement yourself if it isn't.