• About

technoless

~ Just another WordPress.com site

technoless

Tag Archives: swing

Detect swing EDT violation

July 26, 2014

links: – https://weblogs.java.net/blog/alexfromsun/archive/2006/02/debugging_swing.html – http://stackoverflow.com/questions/11825281/java-swing-running-on-edt – http://stackoverflow.com/questions/7896723/how-do-you-use-the-event-dispatch-thread summary: – use code to detect misuse of EDT – AspectJ needed – …

Continue reading →

why most gui single threaded

July 26, 2014

links: – https://weblogs.java.net/blog/kgh/archive/2004/10/multithreaded_t.html summary: – input event processing runs in opposite direction to GUI activity causing deadlock / race condition …

Continue reading →

repaint vs revalidate

February 22, 2013

links: – http://www.coderanch.com/t/333435/GUI/java/Whats-exact-difference-paint-repaint – http://stackoverflow.com/questions/1097366/java-swing-revalidate-vs-repaint summary: – repaint: repaint itself no layout no new child component – revalidate: layout change …

Continue reading →

Swing multi thread example

January 31, 2013

links: – http://blue-walrus.com/2011/05/advanced-swing-multithreading-tutorial/ summary: – in actionPerformed start a separate thread (without this would hang EDT) – from that separate …

Continue reading →

Swing, combined view and control

January 26, 2013

link: – http://www.oracle.com/technetwork/java/architecture-142923.html summary: – according to sun/oracle, swing is _not_ exactly MVC – but a separable model architecture – …

Continue reading →

GUI design practice

January 26, 2013

links: – http://blue-walrus.com/2011/07/swing-and-design-patterns-part-1-decorator-pattern/ summarys: – suggested patterns to code GUI to be manageable

Swing Patterns

January 26, 2013

links: – http://csis.pace.edu/~bergin/patterns/strategydecorator.html – http://stackoverflow.com/questions/496233/what-are-your-best-swing-design-patterns-and-tips examples: – strategy: Layout on Panel – composite: Component contains other Components – observer: Observer/Observable, …

Continue reading →

InvokeLater vs InvokeAndWait

January 25, 2013

links: – http://javarevisited.blogspot.com/2011/09/invokeandwait-invokelater-swing-example.html summary: – swing is _not_ threadsafe – GUI updated thru event dispatch thread (EDT) – InvokeLater = …

Continue reading →

search

activemq ajax android annotation aop apache axis2 bat c# classloader classpath cloud-computing collection concurrency cpp debug design patterns dll dom ear eclipse encryption exception file gcc generics hibernate http httpd initialization jar java javascript jaxb jdbc jms jmx jna jndi jni jpa jquery jsf linux makfile map marshal maven memory mvc networking odbc perl properties readwrite script semaphore shell spring sql stream swing tcp thread tomcat try-catch unmarshal war webservice windows wsdl xml xpath xquery xsd

Archives

  • April 2018 (2)
  • December 2017 (1)
  • June 2017 (2)
  • April 2017 (1)
  • September 2016 (2)
  • January 2016 (1)
  • October 2015 (4)
  • September 2015 (11)
  • June 2015 (2)
  • May 2015 (2)
  • March 2015 (11)
  • February 2015 (2)
  • January 2015 (2)
  • September 2014 (5)
  • August 2014 (6)
  • July 2014 (4)
  • June 2014 (1)
  • May 2014 (6)
  • April 2014 (9)
  • February 2014 (2)
  • January 2014 (1)
  • November 2013 (1)
  • August 2013 (2)
  • June 2013 (1)
  • April 2013 (12)
  • March 2013 (34)
  • February 2013 (22)
  • January 2013 (14)
  • December 2012 (1)
  • October 2012 (2)
  • September 2012 (14)
  • August 2012 (1)
  • July 2012 (4)
  • June 2012 (3)
  • May 2012 (1)
  • March 2012 (1)
  • October 2011 (9)
  • September 2011 (15)
  • August 2011 (1)

Blog at WordPress.com.