No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
Hi this is Program .. without Creating the Random object each time and without Boolean Array... // Random 1-10 Numbers.. import java.lang.*; import java.util.*; class rand{ public static void main(String args[]) { int arr[] = new int[10]; int count = 0; boolean found; Random r=new Random(); while(count < 11) { …
How to do image Zoom in Zoom out in J2ME.. Help with Source Code..
Can any one tell the Best Compression method for all types with Source code in java....
/* Hi i corrected some codes in your program .. compile and run the program.. i didnt correct your Artist class.. because you didnt use in your program.... You are using most of the C language syntax thats why so much error... */.. Chech and tell ... [ICODE]/** * InventoryProgramPart3.java …
This will print the Content in TextArea... PrinterJob job= PrinterJob.getPrinterJob(); if(job.printDialog()){ try { job.setPrintable(area.getPrintable(null,null)); job.print(); }catch(Exception e) { JOptionPane.showMessageDialog(this,"Error While Printing"+e); }
I think this will help you.. // To display the Decimal float amt=0.60f; NumberFormat formatter; formatter=NumberFormat.getIntegerInstance(); formatter.setMinimumFractionDigits(2); System.out.println(formatter.format(amt));
The End.
arumugam4all