• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Panel Flickering  RSS feed

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an application wherein I am dragging a Panel which acts like a SplitPane.
I have added a mouseDrag event for that particular panel.But on dragging the panel the adjacent components as well as the Panel itself Flickers and cannot be dragged smoothly.
Can anyone plz help as to what has to be done to avoid the flickering.
Waiting for ur replies.
Thank you.
 
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using AWT or Swing? If Swing, why not use JSplitPane. In any case, please post your code so we can see exactly what you are doing...
 
mitesh mehta
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well i am using Swing.And i am not using JSplitPane because there are some functionality of JSplitPane which i want to avoid.
Can u find any solution to stopp flickering?
 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had same problem with Jscrollpane and JPanel. Solution was

Maybe something like this might work for you?
 
Our first order of business must be this tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!