 This randomized clinical trial studies how well a computerized cognitive behavior therapy program works in treating depression in patients with cancer. The cognitive behavior therapy program uses a series of internet-delivered sessions intended to help patients identify and change problematic patterns of thinking and behavior that maintain depression. 