Linux x86_64 is hell

Not so surprisingly, Linux x86_64 is pure hell. Namely after trying to configure it to have all multimedia capabilities. At this point of time hell comes loose, and everything starts to break down due to dependency hell. And end result is just twisted sick compromise of possibilities. Thus if one is wanting to be able…

Read more

Calculating JTextComponent -height

Problem: Let’s assume that we know the available width and we should determine what is the required height for JTextComponent within that limitation. This problem arises immediately, at least in three cases in java: Variable row height table cells Tooltip size Message dialog size In all of these cases, it is necessary sometimes to know…

Read more