Piggy note in java