• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Detect Target TitledPaneSkin

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi there,

I'm Working on a Project where it is Possible to Drag and Drop Items (this are mostly Buttons).

I'm able to Drag an Item into the VBox of an TitledPane (Accordion).

If the VBox is empty and I drop the Item on the VBox area, then I get as event Target the Instance of VBox and i can handle it.

But if i Drop the Item on the TitledPane which containes the VBox then i see in the Debugger that the Target from the Event I'm getting is "TitledPaneSkin$..." and here is now my Problem. How can i take this Target and do something with it? i tryed with Instanceof but It's not running, the Skin is an Interface on TitledPane.

very happy for any idea and help.

cheers
 
Marshal
Posts: 79239
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you really want this discussion in the ORM forum? Wouldn't JavaFX be a better fit?
 
mike arcon
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Campbell Ritchie wrote:Did you really want this discussion in the ORM forum? Wouldn't JavaFX be a better fit?



well mabye.. but I'm not sure if it's really an FX related problem.. or an General Java Question

do you think it's a better fit on FX?
 
Sheriff
Posts: 7125
184
Eclipse IDE Postgres Database VI Editor Chrome Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have moved the thread to the JavaFX forum.
 
Knute Snortum
Sheriff
Posts: 7125
184
Eclipse IDE Postgres Database VI Editor Chrome Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you provide an SSCCE (that's a link) that demonstrates the problem?
 
reply
    Bookmark Topic Watch Topic
  • New Topic