How to print a string with out using main method??

how to print a string with out using main method??
if we can tell me with example?
thanks in adavance
raja

Hi,
actually there's none. The UITableView class needs to "know" the tableView's height so either it can calc <number of rows> times <row height> or it has to sum the height of each single row.
If the row which needs to be of different size always is the first or the last row you can user a tableHeader or tableFoot view.
Regards
Dirk

Similar Messages

  • How to print to console with out using system.out.print

    Hi All
    Is it possible to print the text to console with our using System.out.println(). i done as follows but i does not worked
    import java.io.*;
    import java.util.*;
    public class myclass
         public static void main(String[] args)
              BufferedWriter br = null;
              try {
                   br = new BufferedWriter(new OutputStreamWriter(System.out));
                   br.write("Myclass123",0,10);
              } catch (Exception io) {
                   io.printStackTrace();
    so it will be appretaible if any body helps me in solving this question

    i am using sysstem.out to specify that out put
    generated should be pumped to console inted of file.
    i mean system.out will lead to the console. thats why
    i used that. as Either I have no idea what you are talking about, or you have no idea what I am talking about when I refer to writing to File "con".
    suystem.in means keyboard.Actually, it means "the system's standard input stream, wherever it may come from".

  • How can i get apps with out using credit card info because i do not have a card ?

    how can i get apps with out using credit card info because i do not have a card ?

    Yo Chris. I've been following your answers to different threads and quite frankly, you're very keen in answering everybody regarding this stupidity that Apple has brought upon its customers. Kudos to you. But the problem is, most of the time, in some devices, your solution doesn't work because the NONE option is not there. The same goes for me.
    Meanwhile, I found a temporary workaround for the iPhone 4s, iPad 2 and iPod Touch 4th Gen.
    Register a free Apple ID from the iCloud Settings.
    Go to Settings>iCloud>Account>Tap Payment Information on the Storage Plan Category.
    Fill in the other boxes and choose "None" on Credit Card Information.
    That's it! Hope I helped those who still couldn't find the "None" Option.
    Must be running IOS 5.0.1 though, else there would be no iCloud.

  • I want to print form directly with out using spool request

    hi,
            i want to print form directly with out using output type screen (spool request or print preview ) , i want to supress the screen and get output directly to the printer. plz help me
    thanks&regards
    praveen

    Hi Praveen,
    In your program, where you are calling the OPEN_FORM function.. pass the name of the printer in the 'DEVICE' parameter of the function module..
    Also, there is a parameter OPTIONS of sturcture ITCPO in the same function module.. in this parameter you will find lot of options to set properties for the printing..
    There will be one field for immediate printing, set that field to 'X' and other settings for print in the same structure and pass to the function module..
    Thanks and Best Regards,
    Vikas Bittera.

  • How to know the size of the string with out using the length() method

    i want to find the lenght of the
    String s="Sudha";
    with out using the lenght() method.

    Not true (I mean the part about "The only String
    call"). But if it had been true, I might haveagreed
    with this:
    Assuming one uses the 'exception' approach thenwhat
    method other than charAt() is needed?I probably misunderstood your post, I thought you
    meant that the only alternative to length() would be
    charAt() and catching the exception.There are many ways and if the teacher had said find 5 ways of finding the length of a String then I would have fealt happier because it would have meant the student would have to read and study the whole of the String API.
    I like
    int length = (s+"sabre").lastIndexOf("sabre");

  • How to queue custom events with out using af:calientListener.- onKeyUp.

    Hi,
    I have a custom component ( extending richinput text).
    defined a new attribute called "onkeyup" and added necessary logic in Renderer. Some thing like
    write.writeAttribute("onkeyup" , "handleEvent()");
    I rendered the java script code too ..... in my custom renderer. ( I neigther want to write java script in metaContainer of document tag nor wants to use resource tag..)
    and the handleEvent code is something like this.
    function handleEvent()
    In this method i want to write the code which pushes my custom event to the queue.
    some thing like this..
    component = event.getSource();
    AdfCustomEvent.queue(component, "customEvent",{payload:component.getSubmittedValue()}, true);
    event.cancel();
    Usually if use a clientListener then it will call the method {  handleEvent(event)  } passing event parameter so that we can get the source of that event.
    But as i dont want to use the clientEventListener.... as of now... i can't get the component because i don have the event object with my method.
    So could any one please letme know , how can i queue my custom event in to my customcomponent... with out using ClientListeners.
    Edited by: mchepuri on Nov 9, 2009 10:04 AM

    Hi,
    AFAIK, you cannot queue an event to the serverListener without a clientListener.
    -Arun

  • How do you change password with out using cd on imac?

    How do you change password with out cd on imac?

    Please read:
    http://osxdaily.com/2011/08/24/reset-mac-os-x-10-7-lion-password/

  • How to take os recovery with out using time machine backup

    I ve just bought a macbook pro & I m very new to MAC OS. I wanna to take recovery of only Original OS with out using time machine & I also dnt want 2 store my personal files & stuffs. Pls guys suggest some tips for recovering my os If any problem occurs in future.

    S@ggy wrote:
    I ve just bought a macbook pro & I m very new to MAC OS. I wanna to take recovery of only Original OS with out using time machine & I also dnt want 2 store my personal files & stuffs. Pls guys suggest some tips for recovering my os If any problem occurs in future.
    It's not real clear what you want to do.
    Do you mean you don't want to back up your personal data at all, just the operating system?  If so, why?  Usually it's the personal data -- documents, photos, videos, etc., that are most important to folks, so should be backed-up.
    Or do you mean, you have some sensitive data that you don't want anyone to be able to recover if they get your backup disk?  If so, Time Machine can encrypt the backups, so anyone without a backup can't recover anything.
    Or something else?

  • How to print devlievery document with out condition record mess type

    Hi,
    Actually user want to take the sample print out  ( Hard copy ) of the delivery note and other documents for reference, even the message type processed, not processed and even ended with errors also
    I have written a program to display the delivery document numbers  with check boxses and added one button in application tool bar.
    onece user executed the program, he will able to see all the delivery or sales numbers with checkboxes.
    now requirement is, users will select check box and click on the print button it should fire printouts in local printer of user location.
    for this what we are planning is we want to maintian the entries in NAST by RV_MESSAGE_* function modules and printing the output immedaietly
    If any one worked on this kind of requirement, please suggest step by step, how we can print the documents with directly maitaining the message types with out condition records
    Thanks in advance.
    Raju

    Hi,
    Generally if we create any document ( sales or delivery ), based on the condition record message type will be created and with message type details print will be triggered when the medium is 1, date time 4
    But in my case i want to take the printout irrespective of the message and condition records
    i want to take printout even if the message processed,not processed and ended with error.
    is there any way to take the print of the documents by using function modules or updation of NAST table.
    Please help me.
    Thanks in advance
    Raju

  • How to execute vb script with out using Remote manager in oim 11g r2

    Hi Currently,
    i have a requirement to execute  vb script (present on a remote machine in which connector server is installed) from oim machine while using Exchange connector (11.1.1.6).
    This can be achieved by using remote manager,but i dont want to use remote manager.
    Hence decided to use Action scripts.
    As per connector configuration,
    i have configured Action scripts in Lookup.Exchange.UM.Configuration lookup definition, by means of three entries
    After Create Action Language      Shell
    After Create Action Target           Resource
    After Create Action File              /home/scripts/Disable.bat
    Disable.bat has the following ,
    Powershell.exe -File C:\scripts\Setup.vbs
    -%Log on Name%
      Exit
    As Setup.vbs is expecting a parameter of log on name, i was providing the same.
    But while creating the user,as this script gets called, getting the following error and hence 'create User' is getting failed.
    Problem while PowerShell execution System.Management.Automation.RemoteException: This task does not support recipients of this type. The specified recipient XXXXXXXXXXX...XXXXX is of type UserMailbox. Please make sure that this recipient matches the required recipient type for this task.
    While provisioning the user to Exchange , i have selected 'Recepient type' as 'User Mail box' explicitly, but still getting the error.
    Please provide any pointers to resolve the issue.
    Thanks in advance
    Kumar

    As far as I know Oracle and MySQL are two different products.
    Why do you clutter an Oracle forum with MySQL questions?
    If MySQL is such a tremendous RDBMS, like many people state (as 'free' means per definition better),
    why don't you visit a MySQL forum where fellow MySQL aficionados can answer you MySQL questions?
    In short, why don't you stop abusing Oracle forums?
    Sybrand Bakker
    Senior Oracle DBA

  • HT1386 My phone is disabled.  How can I rest it with out using a computer?

    My phone is disable.  How can I rest it without using a computer?

    Sell it to someone that has a computer & use the money to purchase a new phone. Either that or find a computer.

  • Im trying to make an apple id do u haw to use a credit card number or no because i dont want to can someone tell me how i ca create one with out using it

    Im trying to make an apple id but dont want to use my credit card is there a way to make obe without using a credit card can some obe tell me

    If you only want the free apps, take a look here:
    http://support.apple.com/kb/HT2534
    Read the steps carefully as the order in which you follow them is  critical. Note that you can do this only when creating a new Apple ID. You cannot use an existing ID. 
    You will of course not be able to get anything other than the free content without entering in some sort of payment method (credit card, prepaid iTunes card, gift certificate, etc.)
    Regards.
    Forum Tip: Since you're new here, you've probably not discovered the Search feature available on every Communities page, but next time, it might save you time (and everyone else from having to answer the same question multiple times) if you search a couple of ways for a topic, both in the relevant forums and in the Apple Knowledge Base, before you post a question.

  • Hp 7525 photosmart How to print from iPad photos to use main paper tray.

    I am having trouble printing photos from the larger main tray. It keeps trying to use the smaller. Photo tray
    I tried selecting main tray as default and will not work.
    Using hp photosmart 7525
    This question was solved.
    View Solution.

    Hi,
    If you are using AirPrint, the default setting is to use the photo tray for photos and the main tray for all other printing. AirPrint allows very little flexability in this respect.
    In order to increase flexability around papaer and tray selection, you'll need to download the HPe-Print app from the app store and use this. 
    "Although I work for HP, I'm speaking for myself and not on behalf of HP"
    "Say "Thanks" by clicking the Kudos Star in the post that helped you.
    --Please mark the post that solves your problem as "Accepted Solution"

  • How to call a stored procedure on time basis with out using sql job and GOTO

    Hi,
       I wanted to call a stored proc, on time basis ,
    please tel me how it can be done with out using sql job , goto .
    1) That is, is there any timer aviable in sqlserver.
    q2) And which one is better GOTO or sql job.
    yours sincerley

    Raj, Check if my explanation helps you:
    Your job runs every 10 seconds.
    Lets say first time you are scheduling and running your job at 12:00:00 PM
    Now your proc will start executing.
    Say it got finished at 12:00:07.
    Now the next schedule time is 12:00:10 PM.
    The moment this time hits, the job will get invoked and start executing the proc.
    Lets say this time it finished at 12:00:22 PM (It took 2 extra seconds)
    This time the scheduled time is already gone (12:00:20 PM), thus it'll now run at the next schedule that is 12:00:30 PM.
    Thus if anytime your job takes more than 10 seconds to run, it'll just miss those particular schedules overlapping with execution time. Otherwise you are good to go. 
    PS: A job is the best way to handle this, in your problem statement you don't need a job but that would be wrong. You have another way to do that, if you keep running your procedure all the time and the moment your timestamp hits a multiple of 10
    seconds you can run your logic and then returning to the timer. But this is extremely wrong for a system. Even if your requirement is extremely transactional and complex, I would not suggest this. If the job is taking more than 10seconds (which it might if
    your logics inside are complex), you should optimize your code and table architecture.
    Chaos isn’t a pit. Chaos is a ladder. Many who try to climb it fail and never get to try again. The fall breaks them. And some are given a chance to climb, but they refuse. They cling to the realm, or the gods, or love. Illusions. Only the ladder is real.
    The climb is all there is.

  • Selecting records from DB table with out using internal tables

    hi,
    i need to retrieve values from a database table based on few fields and date as well. however, i need to check whether the date is less or equal to the current date and along with that i should get the appropriate record. how can i do that with out using internal table.
    field1-----date---
    11111----
    20070219
    11111--20070214 <---
    11111----
    20070205
    in the above scenario i should get the second record
    Regards,
    Kranthi.

    Try:
    REPORT ztest MESSAGE-ID 00.
    TABLES bkpf.
    SELECT * FROM bkpf
      UP TO 1 ROWS
      WHERE budat <= sy-datum
      ORDER BY budat DESCENDING.
    ENDSELECT.
    Rob

Maybe you are looking for

  • Tried updating my iPhone to 8.3 yesterday. iPhone 5 now dead and unresponsive even if I plug into iTunes. Help!

    Yesterday I tried upgrading my iPhone 5 to 8.3. Phone told me not enough storage so deleted some stuff and proceeded. It then had a circle going round and round and wouldn't do the upgrade. I had to restart my phone a couple of times but it seemed ok

  • Can Bridge label images in Finder?

    I want the images I've selected in Bridge  - sorted by Rating -  to have a color label when I view them in a folder in Finder. Currently I just manually label each one in Finder with the Bridge window open. is there a better way?

  • Need help with a Webdynpro scenario

    Hi, I have the following scenario. I have a webdynpro application (form) which allows the user to change some data. When the page loads, the data already available is displayed in the corresponding UI elements in the form. This is done using a BAPI c

  • Minimal Adobe application for book animation

    Is it possible using only Dreamweaver to create an animated image of a book with pages that turn and text on each page that maps to the text in an e-book; or would Adobe Flash be necessitated? If the latter, how close an approximation to the describe

  • Unsupported class???

    Hi, I tried to run the a java file but failed. The error message that I get:- java ExampleProgram The java class could not be loaded. java.lang.UnsupportedClassVersionError: ExampleProgram (Unsupported major.minor version 49.0) and this is my java fi