Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,191 members, 7,818,620 topics. Date: Sunday, 05 May 2024 at 08:03 PM

JFrame's Posts

Nairaland Forum / JFrame's Profile / JFrame's Posts

(1) (of 1 pages)

Politics / Re: Governor Obiano Hands Over To Soludo (Pictures) by JFrame: 8:20pm On Mar 15, 2022
Please Ignore any call or message including WhatsApp from this MTN number 08147935933,
it was stolen and hacked and is being used by criminals to extort individuals

Software/Programmer Market / Point Of Sales (pos) Software For Sale by JFrame: 11:08am On Oct 02, 2010
I have a complete POS software for sale, desigened and developed with international standard with due consideration of the nigerian market. The software contains modules which include stocking, purchases, sales, users and much more with support for network, point of service devices such as printer and barcode scanners.

with great discount,

for more information contact
Ifeanyi 07062120893
Certification And Training Adverts / Get Your Oracle Certified Professional Certificate by JFrame: 11:44am On Aug 05, 2010
Have you done your OCP Exam and having problem with getting the Oracle certified professional Certificate?
Are you having Problem getting your OCP Certificate?
you can get your Oracle Certified Professional certificate with ease at the comfort of your home or Office?

call Engr. Ifeanyi Nwodo 07062120893
(OCA,OCP,SCSCA,SCEA,SCJP,B/PLSQL)
Certification And Training Adverts / Get Your Oracle Certified Professional Certificate by JFrame: 11:14am On Aug 05, 2010
Have you done your OCP Exam and having problem with getting the Oracle certified professional Certificate?
Are you having Problem getting your OCP Certificate?
you can get your Oracle Certified Professional certificate with ease at the comfort of your home or Office?

call Engr. Ifeanyi Nwodo 07062120893
(OCA,OCP,SCSCA,SCEA,SCJP,B/PLSQL)
Programming / Re: I Need Help On How To Cr8 Installer For My Java Program by JFrame: 4:12pm On Jul 09, 2010
you can use an open source installer Lunch4j from http://sourceforge.net/projects/launch4j/files/ if you intend running for only windows or izpack for multiuser operating system you get that from http://www.izpack.org
Romance / Re: Is It Possible To Find A Girl That Is Trustworthy Nowadays? by JFrame: 5:18pm On Jul 07, 2010
Omo if na Lagos you they think say you go see,

wait wait waitin you call am TrustWorthy, abi TrustWaitin?

ha! ha! ha! , you de joke!

you no go see! no be for Nigeria not to talk of Lagos.

just forget that one. ,

for now omo work smart make you get better job make you fit make raba then the rest go follow including the lady wey you they fine,

but no bi trusthWowo no bi only Trusthworthy,
Romance / Re: I Am In Love With My Cousin by JFrame: 5:09pm On Jul 07, 2010
Omo you de SICk! Which kind nonsense you de talk.
abi na Tifod de worry you?

Omo go hospital OOOh!

you really de SICK!
Romance / Re: Please Where Do I Go From Here?i Cant Believe She Just Left Me. by JFrame: 5:03pm On Jul 07, 2010
omo go die
Romance / Re: My Boyfriend Got A Job And Became A Monster! by JFrame: 5:00pm On Jul 07, 2010
Sorry but you got what you actually bargained for, during the relationship, did he ever introduce you to his families as his fiancee ,  did he ever border to get to know your family(visit them conscientiously, how many times did you spend time with members of the family. during the relationship he actually showed you signs that he will not be with you for long but you closed your eyes to the signs
Programming / Re: Rotating A Jlabel Using Netbeans by JFrame: 4:26pm On Jul 07, 2010
Try this Program of mine it will give you great help:


import java.awt.*;
import java.util.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.border.*;

import javax.swing.plaf.basic.*;
import java.awt.geom.*;


// This code uses Graphics2D which is supported only on Java 2

public class Main
{
public static void main(String[] args)
{
JFrame frame = new JFrame("Main"wink;
frame.addWindowListener( new WindowAdapter() {
public void windowClosing(WindowEvent e)
{
Window win = e.getWindow();
win.setVisible(false);
win.dispose();
System.exit(0);
}
} );

frame.getContentPane().setLayout( new FlowLayout() );

ImageIcon icon = new ImageIcon( "dukeWave.gif" ) ;
JLabel l = new JLabel( "Rotated anti-clockwise", icon, SwingConstants.LEFT );
l.setUI( new VerticalLabelUI(false) );
l.setBorder( new EtchedBorder() );
frame.getContentPane().add( l );

l = new JLabel( "Rotated Clockwise", icon, SwingConstants.LEFT );
// l.setHorizontalTextPosition( SwingConstants.LEFT );
l.setUI( new VerticalLabelUI(true) );
l.setBorder( new EtchedBorder() );
frame.getContentPane().add( l );
frame.getContentPane().add( new JButton( "Button" ) );
frame.pack();
frame.show();


}
}



class VerticalLabelUI extends BasicLabelUI
{
static {
labelUI = new VerticalLabelUI(false);
}

protected boolean clockwise;
VerticalLabelUI( boolean clockwise )
{
super();
this.clockwise = clockwise;
}


public Dimension getPreferredSize(JComponent c)
{
Dimension dim = super.getPreferredSize(c);
return new Dimension( dim.height, dim.width );
}

private static Rectangle paintIconR = new Rectangle();
private static Rectangle paintTextR = new Rectangle();
private static Rectangle paintViewR = new Rectangle();
private static Insets paintViewInsets = new Insets(0, 0, 0, 0);

public void paint(Graphics g, JComponent c)
{


JLabel label = (JLabel)c;
String text = label.getText();
Icon icon = (label.isEnabled()) ? label.getIcon() : label.getDisabledIcon();

if ((icon == null) && (text == null)) {
return;
}

FontMetrics fm = g.getFontMetrics();
paintViewInsets = c.getInsets(paintViewInsets);

paintViewR.x = paintViewInsets.left;
paintViewR.y = paintViewInsets.top;

// Use inverted height & width
paintViewR.height = c.getWidth() - (paintViewInsets.left + paintViewInsets.right);
paintViewR.width = c.getHeight() - (paintViewInsets.top + paintViewInsets.bottom);

paintIconR.x = paintIconR.y = paintIconR.width = paintIconR.height = 0;
paintTextR.x = paintTextR.y = paintTextR.width = paintTextR.height = 0;

String clippedText =
layoutCL(label, fm, text, icon, paintViewR, paintIconR, paintTextR);

Graphics2D g2 = (Graphics2D) g;
AffineTransform tr = g2.getTransform();
if( clockwise )
{
g2.rotate( Math.PI / 2 );
g2.translate( 0, - c.getWidth() );
}
else
{
g2.rotate( - Math.PI / 2 );
g2.translate( - c.getHeight(), 0 );
}

if (icon != null) {
icon.paintIcon(c, g, paintIconR.x, paintIconR.y);
}

if (text != null) {
int textX = paintTextR.x;
int textY = paintTextR.y + fm.getAscent();

if (label.isEnabled()) {
paintEnabledText(label, g, clippedText, textX, textY);
}
else {
paintDisabledText(label, g, clippedText, textX, textY);
}
}


g2.setTransform( tr );
}
}
Programming / Re: I Need A Little Software To Control Label Printer 77011 by JFrame: 4:11pm On Jul 07, 2010
provide the full description of the printer and the code you have if any,
I cant help if you don't provide full information of the printer
Programming / Re: Please Help To Solve This Java Problem. by JFrame: 3:22pm On Jul 07, 2010
Why do you need alternative when you have the solution.

forums are meant to help with problems.
Computers / Re: Oracle DBA Corner by JFrame: 3:03pm On Jul 07, 2010
kkbear : your Oracle 11g SQL Fundamentals I is good, it shows you have SQL skills for interacting with relational database such as Oracle, while OCA shows that you have foundation administrative skills for managing an Oracle Database. I will recomend you acquire PL/SQL and Oracle DB 11g OCP skills.
Programming / Re: Need Help On Freetts Library(java) by JFrame: 2:39pm On Jul 07, 2010
you need to define the class path to include the location to the VoiceManager class
Programming / Re: Abeg,make una send me C# compiler to my Email na! by JFrame: 4:19pm On Feb 16, 2010
Programming / Re: Exception In Thread "main" NoclassDefFoundError; Class Name by JFrame: 10:04am On Feb 05, 2010
Scan your system for virus, uninstall the jdk and reinstall it after the scaning and virus sweep, some virus infect the Javac.exe and java.exe files,

(1) (of 1 pages)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 20
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.