This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Twins views  RSS feed

 
D Rog
Ranch Hand
Posts: 472
Linux Objective C Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MS visual studio supports split of edit window, when you can have text scrolled differently in every view, but editing in any will be reflected in both view.
Swing preventing inserting of the same view in more than one container. How above feature can be implemented? I assume that MVC specifically designed to cover this case, however my implementation of twins views look ugly. Can somebody demonstrate elegant solution, let say for text field with the same model, so if I type something in one text field, then other will also reflect my typing unless it's scrolled to a position far away of the current typing.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
something like this maybe...

 
D Rog
Ranch Hand
Posts: 472
Linux Objective C Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks,
it's good one.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!