I didn't realize that it was just creating a second reference. The clone was what I was missing thanks. Changed my code to the following.
Calendar newDate = (Calendar) passedDate.clone();
Type: Posts; User: banny7
I didn't realize that it was just creating a second reference. The clone was what I was missing thanks. Changed my code to the following.
Calendar newDate = (Calendar) passedDate.clone();
I am not sure if I am posting this under the right thread or not but here it goes. I ran into a little problem while using the Calendar class. At work our work weeks are from Monday to Sunday and I...
I think this is what is causing the issue. I will update later when I know for sure
I am not sure if I am posting to the right forum but since I recived help here before I figured I'd give it a try. A user recently got a new computer with Window 7. The application is a desktop web...
I am trying to find a way to change the forground color of a specific date if certain requirements are meet. I am not sure how to go about this.
I have the following.
public...
Yes they are set up the same. But I discovered later it has to do with the permissions on my computer and one other users computer. Other users can view the report. We think it has to do with the...
I am having trouple opening a report developed in iReport. I have done some searching on this and havent found anything that has helped. I get the following error message when I try to run the...
I tried other place but I think the problem is relatively new but not sure. Any ways, I ran a java update on my work computer, update 1.6.0_29. I tried to run the dev instance of the application and...
I forgot to post that I figured a way to fix my issue. I did it by writing it to a pdf instead of excel and I used nested tables. I a little like the following.
try {
//Create the...
I was thinking about doing the report in memory also, I have done that with other reports. I did that with a report that generates the employees that are off from a selected date plus 7. I used...
I have a excel report that I created and now I need help with the formating. The report is currently hand written and follows a certain format in order to fit all the information on one page if...
This is my final code, including making sure the line ends on a space, incase you were woundering. Thanks again
new javax.swing.JTable()
{
public String...
oo sorry about that i figured out how to get it to work. I am using netbeans and the code was in the custom creation code under the poperties. It seems that when the code is generated by net beans it...
I added the following using substrings to try and get new lines just to see if it would work, I know that they don't work with the spacing and I have other things I need to do a better job of but I...
I have also added a system out to the code to see if it works correctly in the console and it does.
Yes, the \n just appears in the popup now it doesn't go down to the next line
No that didn't work. Thanks though.
I have a jtable with a mouse over event where if the mouse is over the comment column of the table, a popup appears with the comment in the pop up. However the entire comment is on one line and some...
Yes it solved. The render was based on position because the table would show how many people needed to be assigned to the project. The user could select multiple job function area. ex a...
I got an event to work this is what I have
public frmSchedul() {
initComponents();
int[] resultCheck = new int[300];
resultCheck = CheckAssignedSingle(date, metadata, projects);
TableCellRenderer renderer = new CustomTableCellRenderer(intColTotal, resultCheck);
...
Sorry I don't think I explained the situtation good enough. The font is rendered red if a there are not enough employees assigned to the project, render black when there is. This part is working, the...
I tried
private void tblProjectsMouseClicked(java.awt.event.MouseEvent evt) {
// TODO add your handling code here:
System.out.print("Table headers were clicked");
}
when...
I have a jTable that I enable the user to sort based on which ever column they click on, I use .setAutoCreateRowSorter(true); I am also using netbeans and was wounder what event I can use on the...
Yea i just always called them global because one of my teacher did and it just got stuck in my head