java design mode  test