public static StringBuilder Htmlfullticket (Integer integer) {
        // Display the selected item
                String [] Array = FullTicket.searchFullTicket(integer);
                Object [] product = Comp.searchTicketProduct(integer).toArray();
                
                //Set color for ticket status
                String color = "red";
                if (Array[1].equals("Open")) color = "green";
                else if (Array[1].equals("In process")) color = "blue";
                
                for (int i = 0; i < Array.length ; i++) {
                    if (Array[i] == null || "null".equals(Array [i])) {
                        Array[i] = "";
                    }
                }

                //html formatted text for Fullticket Editor pane
                StringBuilder builder = new StringBuilder("<h2>Ticket ID: " + integer +"</h2> "
                +"<table border='0'>"
                +"<tr>"
                +"<td width='140'>"
                        + "<font color='#708090'><b>"
                        + "Created on:"
                        + "</b></font></td><td>"+ StringtoDate(Array[14]) +"</td>"
                +"</tr><tr>"
                +"<td>"
                        + "<font color='#708090'><b>"
                        + "Last update:"
                        + "</b></font></td><td>"+ StringtoDate(Array[15]) +"</td>"
                +"</tr><tr>"      
                +"<td>"
                        + "<font color='#708090'><b>"
                        + "Problem Category:"
                        + "</b></font></td><td>"+ Array[0] +"</td>" 
                +"</tr><tr>"
                +"<td>"
                        + "<font color='#708090'><b>"
                        + "Ticket Status:"
                        + "</b></font></td><td><u><font color="+color+"><b>"+ Array[1] +"</b></font></u></td>" 
                +"</tr><tr>"
                +"<td>"
                        + "<font color='#708090'><b>"
                        + "Employee ID"
                        + "</b></font></td><td>"+ Array[2] +"</td>"
                +"</tr><tr>"
                +"<td>"
                        + "<font color='#708090'><b>"
                        + "Employee Firstname: "
                        + "</b></font></td><td>"+ Array[3] +"</td>"
                +"</tr><tr>"
                +"<td>"
                        + "<font color='#708090'><b>"
                        + "Employee Lastname: "
                        + "</b></font></td><td>"+ Array[4] +"</td>"
                +"</tr><tr>"
                +"<td>"
                        + "<font color='#708090'><b>"
                        + "Customer ID: "
                        + "</b></font></td><td>"+ Array[5] +"</td>"
                +"</tr><tr>"
                +"<td>"
                        + "<font color='#708090'><b>"
                        + "Customer Firstname:"
                        + "</b></font></td><td>"+ Array[6] +"</td>"
                +"</tr><tr>"
                +"<td>"
                        + "<font color='#708090'><b>"
                        + "Customer Lastname:"
                        + "</b></font></td><td>"+ Array[7] +"</td>" 
                +"</tr><tr>"
                +"<td>"
                        + "<font color='#708090'><b>"
                        + "Telephone:"
                        + "</b></font></td><td>"+ Array[8] +"</td>"
                +"</tr><tr>"
                +"<td>"
                        + "<font color='#708090'><b>"
                        + "Email:"
                        + "</b></font></td><td>"+ Array[9] +"</td>"
                +"</tr><tr>"
                +"<td>"
                        + "<font color='#708090'><b>"
                        + "Topic:"
                        + "</b></font></td><td>"+ Array[10] +"</td>"
                +"</tr><tr>"
                +"<td>"
                        + "<font color='#708090'><b>"
                        + "Problem:"
                        + "</b></font></td><td>"+ Array[11] +"</td>"
                +"</tr><tr>"
                +"<td>"
                        + "<font color='#708090'><b>"
                        + "Note:"
                        + "</b></font></td><td>"+ Array[12] +"</td>"
                +"</tr><tr>"
                +"<td align='left'   valign='top'>"
                        + "<font color='#708090'><b>"
                        + "Involved Product:"
                        + "</b></font></td><td>"+ Arrays.toString(product) +"</td>"
                +"</tr><tr>"
                +"<td align='left'   valign='top'>"
                        + "<font color='#708090'><b>"
                        + "Solution:"
                        + "</b></font></td><td>"+ Array[13] +"</td>"
                +"</tr>"
                );
                
    return builder;
}