Results 1 to 13 of 13
  1. #1
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    8

    Default [SOLVED] what is text limit line?

    I have a pink bar, I cannot get rid of it. Help says this has something to do with Text Limit Line, I cannot figure it out. Intermediate level help requested.
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

  2. #2
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    7

    Question

    Pink bar in what Nicholas, in IDE or the Application you created?
    Text Limit Line for which text?
    To finish sooner, take your own time....
    Nivedithaaaa

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    May be he's talking about the length of a line of text in NetBeans. If so, I never comes with such a situation.

  4. #4
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    8

    Default NetBeans IDE 6.1

    Just got started on NetBeans, have three or so sample apps. Trying to work in the text editor, at the end of an init(){
    Java Code:
    public void init(ServletConfig config)
    which immediately follows init()

    All I was able to determine is that the tools/Options.... matches this color to be TextLimitLine, I could not find anything else.

    I understood and used all the other editor diagnostics that came up.
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

  5. #5
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Hi Nichola, still I'm not clear what are looking for. Can you explain it little more. :) What you are looking on the Options of tool menu?

  6. #6
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    8

    Arrow update

    Quote Originally Posted by Eranga View Post
    What you are looking at on the Options of tool menu?
    Looking at tools/options/fonts and colors/highlighting ~ that color matches the color I was looking at in the editor. Trying to figure out what the term Text Limit Line is.

    Maybe it is some sort of,... I have no idea. Do not see it this morning. Probably in another file I was working on.

    EDIT:
    While we are at this, I am trying to do a forms submit onSubmit handler and I cannot be effectvie in the IDE editor because it has too dark of a green background for the <form name="Bel*** /> tag. Also, errors are a red color that makes it necessary to drop the cursor down one line to see what is in the error box.
    Last edited by Nicholas Jordan; 07-10-2008 at 09:33 PM. Reason: early get going struggles
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

  7. #7
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by Nicholas Jordan View Post
    Looking at tools/options/fonts and colors/highlighting ~ that color matches the color I was looking at in the editor. Trying to figure out what the term Text Limit Line is.

    Maybe it is some sort of,... I have no idea. Do not see it this morning. Probably in another file I was working on.

    Ah, you are talking about that. :)

    Can you a right side margin(a vertical line) on the editor. Actually you can see it if any of Java class is open(a file is opened). Basically it's used in documentations. If you exceed that margin and do coding, actually you can do it, at documenting time automatically creates new lines and added extras to a new line. IF you not exceed your text can be seen as it is on the document.

    Hope it's helpful to you.

  8. #8
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    8

    Angry helpful

    Quote Originally Posted by Eranga View Post
    (...snip...)Hope it's helpful to you.
    Yes it is very helpful. Every time I open this NetBeans I am pretty much ruined in production for the day as everything has to choke throught an 8.3 ~ operator and the machine just won't pull it. What I need it to do is pack all this stuff in a poataoe sack and get rid of it. I wrote 500 lines since yesterday playing with LittleBeanTestSuite and I almost have it running, thanks to working in a real editor today and copying all the work to NetBeans.

    Right now I have:
    Java Code:
    compile-single:
    run-main:
    4096
     Entering do loop for file: keys.dat
     Finished do loop for file: keys.dat
    BUILD STOPPED (total time: 4 minutes 45 seconds)
    Because of it's understanding of deployment descriptors and so on the tool is highly useful but this is just camp warfare between the Unice and Winnie the Pooh. I have no use for it and usually come up with about a hundred lines of useable code a day on a good run.

    I wrote WombatKeyGenerator and LitteBeanTestSuite since yesterday trying to have fun with newbies. That's twenty thousand keystrokes since yesterday, I do not have time for the choke hold that will not let me recover control of my machine,....

    Even with the intentional loading, 4096 Longs to a disc write should no take four minutes ~ probably ~ I had put a flush() in the core loop to load things but I do not see where it should have taken four minutes to write 4096 x 8 bytes per Long. I am putting a mad button on the post but be certain that your replies are helpful.
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

  9. #9
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Nice to hear that my post is helpful. :)

    Actually I wrote long application, which may have thousands of lines. But I have to use several key strokes. Solution is my library. Around three-four years I'm working with Java and I have my own collection of code segments in different achievements. Simply I have to collect them to a single place and complete my application. My library is really useful to me.

  10. #10
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    8

    Smile this is building my library

    Quote Originally Posted by Eranga View Post
    Nice to hear that my post is helpful.
    Trying to be productive, it is mostly the code that interests me.
    Quote Originally Posted by Eranga View Post
    Actually I wrote long application, which may have thousands of lines. But I have to use several key strokes.
    To understand the libs supplied with the jdk, it can be better to do the learning that it took to build them, this is how I work most effectively in the better results. Sometimes there are issues buried deep in legacy code that make some of my efforts ineffective in unexpected ways. That is why I put our new worker going under the moniker engineering on the problem I described. The issue is remarkable because some of the authors of the Java code on which that issue is based have a great deal of traning as well as operational and field expertise that only comes from a history of work such as your building libs. Only an engineer will do the digging that is effective in such matters.

    The lib I am working on right this moment, in fact the one I was working on when I came up with this, is to build an intentionally weakened crypto key generator that resides totally on the server. I have not gained any understanding of how to use javax.crypto.KeyAgreement,
    therefore am only using the keys to do session keying - ...

    Quote Originally Posted by Eranga View Post
    Solution is my library. Around three-four years I'm working with Java and I have my own collection of code segments in different achievements. Simply I have to collect them to a single place and complete my application. My library is really useful to me.[/COLOR]
    To work on them, it is needful to have a separate compartment for each lib or package that is remote from build + deploy dirs. I have found the packaging feature to be a blocking failure in the dev efforts, but becuase NB understands package statements I have begun to use them in my development. The xml and package statements are used by Tomcat. It would be of great assistance to be instructed how to deploy to Tomcat on the open wire from Tomcat in the IDE on local.

    That would be the basis of my opening the wing barrels on entry, to try to get to that achievment.
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

  11. #11
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Hmm, well said Nicholas. Actually in my application developments I used them as external libs, or sometimes I simply copy/paste them to my application. But in some cases I have do some modifications too. But it's easy.

    Major think is that all code segments are my own written codes. On some of them I have done hundreds or experiments and make the best out. So I'm not worried to re-use them more. As I said in most of the cases used the as libs(that means as jar files, then in the deployment of the application all those things are attached as lib files in lib folder).

  12. #12
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    8

    Arrow Major Dragg and General Plann

    Quote Originally Posted by Eranga View Post
    Hmm, well said Nicholas.
    Are you sure:? have a great deal of traning
    Quote Originally Posted by Eranga View Post
    Actually in my application developments I used them as external libs,
    The IDE had a 'Global Lib' checkbox on one of the dialog boxes when I built noncetest.B64 - which is what I wanted - and it seems to show up as a global lib along with those provided by the ide. Does this sound like I made it available as a such?
    Quote Originally Posted by Eranga View Post
    or sometimes I simply copy/paste them to my application.
    Yes, but we end up with derivative designs that may not have a base: Each mod may or may not be "where we put it last" ... I end up using the folder idea to keep things grouped /asdf/poiu/zzcv/.... and seem to be able to remember where I put everything but to avail the IDE's comprehesion of xml and Tomcat I need to accomplish minimal oreintation on how the ide uses packaging. So far ( when working without the ide ) with roughly twenty folders, five or six which define code that will make it to final build, I still use default package. Any attempt to use package statements results in 'no class def found' - to get it to work I am literally building a compiler shell in Java using Runtime.exec and figuring to do regex's on path || file || extension and have a custom extension that the compiler shell passes to the javac as being a dot java file.

    This is sorta convoluted, it would seem that is what the IDE is designed to do.
    Quote Originally Posted by Eranga View Post
    But in some cases I have do some modifications too. But it's easy.
    Yes.

    Quote Originally Posted by Eranga View Post
    Major think is that all code segments are my own written codes. On some of them I have done hundreds or experiments and make the best out. So I'm not worried to re-use them more. As I said in most of the cases used the as libs(that means as jar files, then in the deployment of the application all those things are attached as lib files in lib folder).
    That's what the ide is supposed to be for, but 200 character line buffers are for geezers on the ocean floor, not really a line buffer. I did a one-off test just to see how much I could keep up with on a special style: Anything that is not a token gets one space. Every code statement otherwise - each keystroke - is adjacent to the immediate keystroke. One should be able to see tree nesting two or three levels deep. I found that a 200 character line, though too much for routine coding, is neither unattainable nor a justifiable restriction. Something around 1k is reasonable. Right now I have several datasets hardcoded as arrays in the source code that need to be resources. Eg: The dictionary in Ternary Trees. They have fifteen or so 'files' which show up in a dir listing that are nothing but the dataset. Two or three are the actual source code.

    One of the goals for this morning is to write a tool that takes a text file and writes the int keys from a tree map. ( a'la word count or something of that nature ) ( as DataOutputStream writes an int )

    Custom coding this as a one-off for each need, vis-a-vis this editor explains prima-facia how it took five years to build the libs. We can hold that as "Guiding Light" on why its ten years and I still don't have any libs.

    Show me the way, oh great moderator.
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

  13. #13
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by Nicholas Jordan View Post
    The IDE had a 'Global Lib' checkbox on one of the dialog boxes when I built noncetest.B64 - which is what I wanted - and it seems to show up as a global lib along with those provided by the ide. Does this sound like I made it available as a such?
    Actually I never seen such a global lib option in Java. If it is there, really valid for me. Because in that case I don't want to included lib on each projects.

Similar Threads

  1. Replies: 0
    Last Post: 07-07-2008, 05:51 PM
  2. [SOLVED] Text Area new line problem
    By Jay-1.1 in forum New To Java
    Replies: 3
    Last Post: 05-07-2008, 05:18 AM
  3. PM Inbox Limit Increased
    By JavaBean in forum Suggestions & Feedback
    Replies: 7
    Last Post: 01-17-2008, 09:48 PM
  4. Limit of String
    By javaplus in forum New To Java
    Replies: 5
    Last Post: 11-19-2007, 05:48 AM
  5. Reading in data from file line by line
    By bluekswing in forum New To Java
    Replies: 1
    Last Post: 10-02-2007, 01:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •