Recent

Author Topic: [SOLVED]LAMW : jPanel transparent (alpha" transparency)  (Read 4296 times)

majid.ebru

  • Hero Member
  • *****
  • Posts: 530
[SOLVED]LAMW : jPanel transparent (alpha" transparency)
« on: April 11, 2017, 06:59:04 am »
Hi
.
it is possible to set color jPanel transparent  ??
or
how can i set ternsparent ?
.
thanks
« Last Edit: April 26, 2017, 03:35:19 pm by majid.ebru »

jmpessoa

  • Hero Member
  • *****
  • Posts: 2331
Re: LAMW : jPanel transparent
« Reply #1 on: April 11, 2017, 06:01:32 pm »


Default =  transparent !

Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

majid.ebru

  • Hero Member
  • *****
  • Posts: 530
Re: LAMW : jPanel transparent
« Reply #2 on: April 13, 2017, 05:04:39 am »
Hi
Default backgroundcolor is colbrDefault.
.
how to create like attachment !?

jmpessoa

  • Hero Member
  • *****
  • Posts: 2331
Re: LAMW : jPanel transparent
« Reply #3 on: April 14, 2017, 01:58:22 am »
Yes, jPanel is transparent by default ....

You can configure a jPanel and put some jTextView into it...
AFTER put and configure a [big] jImagerView in jForm [not over jPanel]  ....

So, yours texts will appear over the the image...

[but,  at the moment jPanel do not support variable "alpha" transparency! ]
[I will fix it! ] 

EDITED:   DONE!!!!

images reference:

https://od.lk/f/Ml8xMzU4MDMxNDNf
https://od.lk/f/Ml8xMzU3ODk1MDBf

NOTE1: jPanel1 and jImageView1 are "anchored" below jButton1 ....

NOTE2: example of use:  AppTextToSpeechDemo1  [updated!]



« Last Edit: April 14, 2017, 04:46:00 pm by jmpessoa »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

 

TinyPortal © 2005-2018