Precise Posted September 13, 2015 Share Posted September 13, 2015 iv accually just been looking at regex, iis there a method to only read numbers, then can I make that into and int for counting with? basicly like this = String text = "Hello, my name is bob, and I'm 37"; int age = 37; Thanks for this no problem Quote Link to comment Share on other sites More sharing options...
moler Posted September 13, 2015 Author Share Posted September 13, 2015 umm, looking at the regex methods, I might not always no when the word I'm looking for will start, but if I no the word before it, and the word after it, can I grab all the text from between that? e.g. brown hair, blue eyes, pink lipstick, purple glasses say I just wonted to grab - pink, it might not always be in the same place, but it will always be between = eyes, lipstick btw i really appreciate all the help, I'm really wonting to learn java well, not just for runescape, tryin many different things Quote Link to comment Share on other sites More sharing options...
moler Posted September 13, 2015 Author Share Posted September 13, 2015 ok iv get that working, thanks guys, o 1 last thing, iv got a built GUI in netbeans, but my main script is being built in eclipse, is there anything I need to do to make them work together? iv added all the command in the gui and built the start button, just not 100% sure how to attach them, do I just copy the GUI.class from netbean into eclipse under the main script class? thanks agen guys, much appreciated with the regex help 2day Quote Link to comment Share on other sites More sharing options...
Precise Posted September 13, 2015 Share Posted September 13, 2015 ok iv get that working, thanks guys, o 1 last thing, iv got a built GUI in netbeans, but my main script is being built in eclipse, is there anything I need to do to make them work together? iv added all the command in the gui and built the start button, just not 100% sure how to attach them, do I just copy the GUI.class from netbean into eclipse under the main script class? thanks agen guys, much appreciated with the regex help 2day eclipse has a WindowBuilder too, give it a go and see but ive never used Netbeans. Quote Link to comment Share on other sites More sharing options...
Joseph Posted September 13, 2015 Share Posted September 13, 2015 eclipse has a WindowBuilder too, give it a go and see but ive never used Netbeans. I love the window builder Quote Link to comment Share on other sites More sharing options...