I want to be able to move my tabs in my jTabbedPane left or right to change the sorting order. I looked around but I noticed most of what I found is asking how to drag and drop a tab in. I just want to make it resortable so that I can move the rightmost tab to the left of the leftmost tab or any order I want.   I know for table columns in a JTable, there is a method, something along the lines of   JTable table = new JTable(); table.setReordering(false); //disables reordering of columns   which prevents this so this functionality is already enabled with columns in tables but with tabs in JTabbedPanes, I cannot find any method similar to this but I'm thinking it would be something similar like  tab.setReordering(true)    as well but I don't see anything.
How do I implement a draggable tab using Java Swing? Instead of the static JTabbedPane I would like to drag-and-drop a tab to different position to rearrange the tabs.  EDIT: .
How to show that the set of orthogonal n x n matrices forms a group under multiplication I am studying orthogonal matrices and I am not sure if to show if a set of orthogonal $n \times n$ matrices forms a group under multiplication. We must check each of the group axioms. I found that the axioms are:  Closure Associativity Existence of identity matrix Existence of the inverse matrix.  I edited my question, since I was able to find more information about this topic. This group is called $O(n)$. To check the four axioms I did: Let $A \text{ and } B \in O(n)$, denoted as orthogonal matrices and assume that $C=AB$, then, Closure :  To prove that $C \in  O(n)$ we must prove that $C$ is a real $n \times n$ orthogonal matrix with uni-modular determinant. Since A and B are real $n \times n$ matrices, $C$ is also a real $n \times n$ matrix so, $C^TC=(AB)^T AB=B^T A^T AB = B^TB=I$  Associativity :  Matrix multiplication is associative, so the law holds for $O(n)$ group elements.  I am not sure if this is enough to prove associativity. Identity element :  The $n \times n$ identity matrix $I_{n \times n}$ represents the identity element.  In this case I am not sure if this is enough to prove the identity element. Inverse element :  Let $A^{-1}$ be the inverse of $A$, then we need to prove that  $A^{-1} \in  O(n)$ since $(A^{-1})^T=(A^T)^{-1}$. We have that: $(A^{-1})^T A^{-1}=(A^T)^{-1} A ^{-1}=(AA^T)^{-1}=I^{-1}=I$  Can anyone check if what I did is correct? I also would like to know if I can prove the associativity and the identity element in a better way. thanks How to find $\lim\limits_{x\to0}\frac{e^x-1-x}{x^2}$ without using l'Hopital's rule nor any series expansion? Coin sequence paradox from Martin Gardner's book How to enable bullet points when using the presento beamer theme? I have the problem that when I use an itemize list and the , there are no bullet points.  Here is a minimal working example (requires the  not available on CTAN to be downloaded first):  \documentclass{beamer} \usepackage{config/presento} \begin{document} \begin{frame} \begin{itemize} \item ... \item ... \item ... \end{itemize} \end{frame} \end{document}     How to fix this problem? I'm new here. Can anyone give me a hint in this problem? Please.  Let $X$ be a topological space. If $f,g$ are continuous function of $f,g\colon X\to S^n$  which $f(x)\neq -g(x)$ for all $x$ in $X$, show $f$ and $g$ are homotopics. I try to show a homotopy using $$q(x) = \frac{f(x)+g(x)}{\|f(x)+g(x)\|}$$ it's well defined, but i'm stuck. I'm printing a tradeshow flyer and was wondering what type of paper I should print it on. I don't want anything glossy so I'm trying to decide on the following:   100# text weight matte 80# cover 80# matte   What is the difference between the types above? And how can I make a decision? Why is torque not measured in Joules? Recently, I was doing my homework and I found out that Torque can be calculated using $\tau = rF$. This means the units of torque are Newton meters. Work &amp; Energy are also measured in Newton meters which are Joules.  However, torque isn't a measure of energy. I am really confused as why it isn't measured in Joules. Power series of a function I am wondering if there are any functions $f(x)$ such that it cannot be expressed as a power series of $x$? This might turn out to be a silly question, but I can't think of one at the moment.   Thanks! Notify on retagging A question here on meta for instance may stick around for quite a while. A feature-request  maybe even for months. Then the status (tags) gets changed to  or  or whatever and the OP does not get notified.  On a normal post-edit we get a notification but retagging does not count for that. Please add retagging to the edit notifications. What original Dr Who episodes are left when not watching unfinished stories? I exported a map and everything looks fine when viewing the PDF. But when printing it on my plotter, all the text disappears. The scale bar would bring but the text associated to the scale bar wouldn't. The title block also disappears. I've tried messing around with the settings. I've checked/unchecked &quot;Embed All Document Fonts&quot; and &quot;Convert Marker Symbols to Polygons&quot;. I'm not sure what I'm doing wrong here. What's weird is I exported this map a few weeks ago and it printed just fine. Today, I needed to make a change to the map and exported it out, and now I am experiencing this issue. I must have changed one of the export settings in the past few weeks but I'm not sure what it is. Has anyone experienced this? Does removing an iPhone from my icloud account also erase the data? Is there a comma needed before quotation? Sam developed an annual sweepstakes promotion entitled “The Free Gas Punt Return Game”.    Do I need a comma after entitled or not? In grade school we learn to rationalize denominators of fractions when possible. We are taught that $\frac{\sqrt{2}}{2}$ is simpler than $\frac{1}{\sqrt{2}}$.  says that "there is a bias against roots in the denominator of a fraction". But such fractions are well-defined and I'm failing to see anything wrong with $\frac{1}{\sqrt{2}}$ - in fact, IMO it is simpler than $\frac{\sqrt{2}}{2}$ because 1 is simpler than 2 (or similarly, because the former can trivially be rewritten without a fraction).  So why does this bias against roots in the denominator exist and what is its justification? The only reason I can think of is that the bias is a relic of a time before the reals were understood well enough for mathematicians to be comfortable dividing by irrationals, but I have been unable to find a source to corroborate or contradict this guess. See YouTube videos in Anaglyph mode How to see a YouTube video in  from a non-3D Android device? I am not able to enable Anaglyph mode from the YouTube application. What is the smallest positive integer $n$, such that there exist positive integers $a$ and $b$, with $b$ obtained from $a$ by a rearrangement of its digits, so that   $a – b = 11\dots 1$ (The number of '$1$'s equal to $n$)?   Is there any example that can satisfy the equation? Let $A\in M_{n\times n}(\Bbb R)$ so that $I\notin span(A,A^2,...,A^n)$. Prove that $\det(A)=0$. Let $A\in M_{n\times n}(\Bbb R)$ so that $I\notin span(A,A^2,...,A^n)$. Prove that $\det(A)=0$.   I was thinking of showing $A$ is not invertible, meaning it has an eigenvalue of $0$. Since no matter the power you give to $A$, it is still not the identity, you can deduce that at least one eigenvalue is indeed $0$. However this doesn't work if you have different eigenvalues in the Matrix, so I got stuck.  Help will be most appreciated. Why can array constants only be used in initializers? Windows 10 sees much more monitors than I have How to avoid noisy renders in Cycles? I know that this question is a bit old or maybe overdone, but I'm running the latest edition of Blender and when I use the Cycles engine I get really fuzzy results and I can't find a simple, non-compromising solution to the quality.  I don't know exactly what I'm doing wrong here, but I'm sure others share my frustration.  Leaving everything in default settings, I started a new project and switched to the Cycles render.  I duplicated the cube and set colors for two Diffuse BSDF shaders, then went ahead and made walls and a floor all sharing the same diffuse shader.  I made two windows to emit blue light.  The screenshot has gaps between the walls because of the setup:  I'm aware that it's considered very incomplete and many have come to terms with some amount of noise, but is this normal?  Furthermore, with default settings or not, I can't change the amount of noise produced.  Supposedly, using "progressively refine" in the rendering tab should make it refine itself indefinitely, however Cycles only counts to 10 refines and then stops, creating a render which is a pixel-perfect match of the ordinary rendering method when it's completed.  I understand that there are tricks that can be used to reduce noise, but at the cost of extra processing time and usually small quality conflicts, like blurring.  My question essentially boils down to is this Cycles' current limit?