transparent border of jtextfield in java code example Example: transparent border of jtextfield in java JTextField tf = new JTextField(); tf.setBorder(null);