i need a java library function that searches the stream of tcp packets coming to my computer from a particular ip address, so i can perform regular expressions on the contents of those packets.
Type: Posts; User: chopficaro
i need a java library function that searches the stream of tcp packets coming to my computer from a particular ip address, so i can perform regular expressions on the contents of those packets.
i am using HttpURLConnection to grab search results from web pages
i want to use it on this site
Twitch
but the source code returned does not have the title, description etc in the source code...
so in my gui class (the main class) i have a text field, which is sort of the debug window
but i want to write to it from constructors of other classes
but those constructors are called from the...
thanks 4 the help
so in my gui class (the main class) i have a text field, which is sort of the debug window
but i want to write to it from constructors of other classes
can i pass the text field as an arguement to...
yes they found the answer
sorry about cross posting but i didnt get an answer
whenever i cross post, i always update all the threads so no one wastes time fixing a problem that has already been...
ive tried these:
[.|\\s]*?
(.|\\s)*?
.|\\s*?
none seem to work
the . character in a regular expression does not match new lines
how do i match any character, including an unknown number of new lines?
o tyvm!!!!!!!!!!!!!!
i havent done anything yet
i thought i explained the problem pretty well
im real good with regular expressions in all kinds of languages
however, theres still one trick i haven't quite touched in java
when ur looping through with while(matcher.find())
it finds the same...
OMG ITS WORKING THANK U SO MUCH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ok well i tried not encoding it with os.write( rawData );
but it says no such method exists os.write( String );
the server doesnt have curl installed
yes the php is right because i can access the data with an html form
encoded data prints as:
user%3Dchopficaro%26pass%3Domgtkkyb
hi all
i want to make an HttpURLConnection with POST data
this code works for the most part, except for the post data part
i tested it on this page, with this post data, with this command line in...
i got it
sorry for the dumb questions lol i just have been doing alot of procedurally oriented programming lately not much object oreinted
i still dont know how to pass an ampersand as part of a...
wait nm i got it im dumb i nedded to pass it an empty strin, chich sems kind of wierd
omfg ur right holy fuck im dumb
ok but still, its confusing, how i get rid of this error?
if i make the variable static i cant change it
because if i put it in main() it would pass to the constructor as local value not reference and would not change, i want test to be changed by the constructor and then go back to main after the...
in this class i have a constructor and a main() function for testing the constructor
theres a couple things stopping me from testing it in the command prompt tho
the post data is a string with an...
the problem has been solved, i needed prefered size not minimym size,
thank you very much for your efforts
try changing NORTH to CENTER, it works perfectly if u do that. but i need it in NORTH
i am trying to put a picture on the top of my swing GUI that stretches horizontally to fit the width of the window as it resizes
http://www.camick.com/java/source/BackgroundPanel.java
this is the...
can i make an image scale to fit the window with BorderLayout.CENTER?
LOL
thank your Norm, i just came back to the forum to ask a question about the cookie because that's where i got stuck
tyvm