JFrame the same shape as an Image / Program running in background

前端 未结 3 920
悲&欢浪女
悲&欢浪女 2020-12-06 15:12

My question is simple, the solution surely not. I am looking for a way to shape a JFrame the same as an Image it will be displaying. By shape I mean the shape of the pixels

3条回答
  •  忘掉有多难
    2020-12-06 15:40

    Simply Add New Label Image In JFrame then Set Jframe Background Transparents

    frame.setBackground(new Color(0, 0, 0, 0));
    

提交回复
热议问题