program requests and reads a list of file names (one per line). Program ends when a blank line is entered.

If a file name endsWith ".txt" then print "Text File: xxxx" where xxxx is the full file name. If the file name contains the string "del" print "Delete: xxxx". If the file satisfies both conditions just do the text file option. Otherwise do not print anything.

So far I have done this but I can't figure out how to do the part where you output Text file: if it contains both .txt and del. Could anyone help me out?

/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package assignment2;

Why are you using 2 while loops? You might want to consider looping through the list only once and doing an if-elseif statement, which would (if ordered correctly) do exactly what you want. Also, you are not acquiring the input as your System.out.println would imply, for that you are going to have to use another loop.