Sorry a miss understanding on my part. I know the JVM is killed but that is what is happening somewhere in my code.[/QUOTE]
I have a close method which is called every half a second aswell....
Type: Posts; User: kurt-hardy
Sorry a miss understanding on my part. I know the JVM is killed but that is what is happening somewhere in my code.[/QUOTE]
I have a close method which is called every half a second aswell....
That shows how many threads are running for each process but when I manually kill the Pid for the java process, the threads relating to the thread class are removed.
Im running this on command line...
Im running this under linux and i can see that its killed using 'ps aux' and grepping java.
In the log file, which prints out debug and exceptions, there are no exceptions thrown and the debug all...
Hi all
Firstly if you need more details, feel free to ask me and I will add them.
I have a problem with two threads dying when there both in a while true statement.
The Main class creates two...
If your using mysql
-set a primary key in the database
-using insert......on duplicate key update .....
see MySQL :: MySQL 5.0 Reference Manual :: 12.2.5.3 INSERT ... ON DUPLICATE KEY UPDATE...
Yeah iv tried that with each one. Is there no way of doing this then? Maybe a perl script to do this would be an easier way.
Thanks for your reply.
Kurt
I current have an app which runs on a server and connector to the database (using localhost, JDBC and Mysql driver)
I need to run a class on a separate server that will populate a table with all...
Right! I have this now.
I created a seperate class which holds the panel with all the components and added two instances like you said.
I had to create an array to pass the parameters but it...
How would i go about doing this. currently everthing is added to the panel and the panel is added to the tab but i tried adding the same panel to the different tabs but it didnt work.
Thanks
Kurt
Hi
Im current developing an app which has two tabs (in the future there may be more added) which have to exact same variables, fields, Jtables, and so on.
currently i have named everything...
Firstly, Thanks for your help
Because the getTableCellRendererComponent method is in the MyRenderer class, and the Start time and stop time are in the main class, Im confused on how i can do a...
Thanks. i now have any row which is not empty coloured using the value variable
if (!(value.equals("")) && (column == 1)){
background = Color.BLUE;
}
how can i colour the...
Hi all.
I have an events tables and Im currently struggling to colour the rows in which the event starts and stops.
I have a customer renderer but dont what vaules/tests i need to set the...
The problems with this is that im passing a service to the constructor so when i create an instance of the frame from the menubar class i cant access the current service.
Can i create a global...
i either get a nullpointer exception if i dont create a new instance of the frame or it creates more than one instance of the same frame. if it does this when i close one frame down it closes the...
I have a generic class which creates a menubar
public class CreateMenuBar {
JMenuBar MenuBar;
JMenu FileMenu;
JMenuItem AddAction;
ActionListener MyListener;
If your using linux, use nmap.
This lists all IP addresses and Mac addresses of the Given Ip Address
But Il need more info than that.
Theres a java command to get host name so im guessing that...
Hi all
Right I currently have a two servers, one holding a database, and one with files stored.
I have created a file which gets all the files stored on the second and inserts it into the...
Right sorry i should of provided something
Firstly i have created 4 panels.
1 for the background
1 for the label
1 each for the set of buttons
i also add box layout to the background...
Hello
Im trying to create a layout which
- has two panels one on top of the other
-in the first panel a label on the top line at the left hand side
-then a list of buttons on the second lines...
I have a servlet which show a row from a Database table.
i want to store that data in an object or java bean so i can access when necessary.
the problem i have is that when the servlet moves on...
I have the same problem.
I have a servlet which shows a table full of data and text fields.
I save that current data into a java bean and load another servlet.
I then try and access the data...
That seem pretty simiple. So instead of
String[] files = new String[1];
int i = 0;
while (rs.next())
{
files[i] = rs.getString("Filename");
files = extend(files, files.length+1);
Il have a look at that. Iv never used array list though. can you access them the same as an array? and if it doubles in size would that not leave memory wasted?
Sorry yes i meant file names.
...
I have a database which has 1000s of files stored.
I need to access a table and store all the values into a dropdown list for a user to view.
Currently i set the array size to 1 and using an...