mirror of https://github.com/sipwise/jitsi.git
parent
20d945ef42
commit
3711e42871
@ -0,0 +1,28 @@
|
||||
/*
|
||||
* SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
|
||||
*
|
||||
* Distributable under LGPL license.
|
||||
* See terms of license at gnu.org.
|
||||
*/
|
||||
|
||||
package net.java.sip.communicator.impl.gui.main.ui;
|
||||
|
||||
import java.awt.Graphics;
|
||||
import java.awt.Graphics2D;
|
||||
|
||||
import javax.swing.JComponent;
|
||||
import javax.swing.plaf.basic.BasicToolBarSeparatorUI;
|
||||
|
||||
import net.java.sip.communicator.impl.gui.main.utils.Constants;
|
||||
|
||||
public class SIPCommToolBarSeparatorUI extends BasicToolBarSeparatorUI {
|
||||
|
||||
public void paint(Graphics g,
|
||||
JComponent c){
|
||||
|
||||
Graphics2D g2 = (Graphics2D)g;
|
||||
|
||||
g2.setColor(Constants.TOOLBAR_SEPARATOR_COLOR);
|
||||
g2.drawLine(c.getWidth()/2, 0, c.getWidth()/2, c.getHeight());
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,36 @@
|
||||
/*
|
||||
* SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
|
||||
*
|
||||
* Distributable under LGPL license.
|
||||
* See terms of license at gnu.org.
|
||||
*/
|
||||
|
||||
package net.java.sip.communicator.impl.gui.main.ui;
|
||||
|
||||
import java.awt.Graphics;
|
||||
import java.awt.Insets;
|
||||
import java.awt.Rectangle;
|
||||
|
||||
import javax.swing.JComponent;
|
||||
import javax.swing.plaf.basic.BasicTreeUI;
|
||||
import javax.swing.tree.TreePath;
|
||||
|
||||
import net.java.sip.communicator.impl.gui.main.utils.Constants;
|
||||
|
||||
public class SIPCommTreeUI extends BasicTreeUI {
|
||||
|
||||
public SIPCommTreeUI() {
|
||||
|
||||
}
|
||||
|
||||
protected void paintHorizontalLine(Graphics g, JComponent c, int y,
|
||||
int left, int right) {
|
||||
|
||||
}
|
||||
|
||||
protected void paintVerticalLine(Graphics g, JComponent c, int x, int top,
|
||||
int bottom) {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in new issue