Simple Word Search
Hi all wonder if you can help me. I'm trying to write a little word search style game in java swing. However i'm a little confused as how to start. I want to be able to draw a grid with letters manually placed in it, so something like this:-
a b c a b c d e f
h e l l o w o r l d
a b c a b c d e f
a b c a b c d e f
I want each grid square to have a specific x and y co-ordinate so say h in the grid above would be at co-ordinate [1,1] and e would be [1,2], etc.
If someone could give me a bit of advice on how to get started on this, i would be most grateful!
Regards
Vince
Use a JPanel with a GridLayout and add JLabels to each grid.
Similar Messages
-
My internet was down for over 24hrs after a storm. During that time, my IPad completely shut down and I can't get it going again. I studied the manual but couldn't find a similar topic. I reset it and now it is totally goofed up.
Does anyone have any ideas or should I just take it to an Apple store and pay?? Any solutions you may have, PLEASE use simple words as I am not a pro, by any means....probably why I'm in this situation.
Thank you in advance.Look at iOS Troubleshooting Wi-Fi networks and connections http://support.apple.com/kb/TS1398
iPad: Issues connecting to Wi-Fi networks http://support.apple.com/kb/ts3304
iOS: Recommended settings for Wi-Fi routers and access points http://support.apple.com/kb/HT4199
Additional things to try.
Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
Another thing to try - Go into your router security settings and change from WEP to WPA with AES.
How to Quickly Fix iPad 3 Wi-Fi Reception Problems
http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
If none of the above suggestions work, look at this link.
iPad Wi-Fi Problems: Comprehensive List of Fixes
http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
Fix iPad Wifi Connection and Signal Issues http://www.youtube.com/watch?v=uwWtIG5jUxE
~~~~~~~~~~~~~~~
If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
Cheers, Tom -
Help required to customize Simple/Advanced Search. Need to add new fields
Hello,
Module: Oracle Sales Online
EBS version: 12.1.3
Jdev version: 10.1.3.3
Scenario:
- We are dealing with standard oracle pages.
- We have TWO "SIMPLE/ADVANCED SEARCH"s available. Each "Simple/Advanced Search" can be found by navigating through paths "A --> B" and "A --> B --> C --> D" . Here it means one "SIMPLE/ADVANCED SEARCH" page is available at page "B" and another "SIMPLE/ADVANCED SEARCH" is available at page "D".
- In the first search page which is at page "B", both Simple as well as Advanced search has a filter field "Win Probability %", of type VARCHAR2/DROPDOWN with values (10, >=10, <=30, 30, >=30, <=50, 50, >=50, <=70, 70, >=70, <=90, 90, 100)
- In second search page, referring to page "D", the Simple search DOESN'T have the "Win Probability %". And the Advanced Search page has the "Win Probability %" but it is of type - NUMBER/MessageTextInput type.
Issue/Requirement:
- The 2nd Simple/Advanced search pages need to have "WIN PROBABILITY %" field and it should be of VARCHAR2/DROPDOWN with values (10, >=10, <=30, 30, >=30, <=50, 50, >=50, <=70, 70, >=70, <=90, 90, 100) just like the way we had in 1st Simple/Advanced search.
Note:
- Again speaking we are dealing with standard oracle pages
- If you go to the "About this Page", interestingly I found:
i. The "message component layout" for both of them is from the same region , i.e., ASNOpptympSrchRN
ii. Rest of the search filters for both the searchs are from common View Object , i.e., OpptySearchVO1 (for Simple search), OpportunityDetailsVO1 (for advanced search)
iii. The "Stack layout" for both the search pages are same, i.e. XXMASOpptyQryCO
iv. None of the fields are rendered to false (everything is set to be rendered TRUE)
Any response is highly appreciated.
Thanks,
Anand
Edited by: 933590 on Jul 19, 2012 8:18 AM"XXMASOpptyQryCO is the name of stacklayout or CO?
What is the CO?
Does both pages share same CO?
have you already extended the CO "XXMASOpptyQryCO"?
what is the original CO then? I think in that CO it must be written somewhere, simple search "search allowed = false""
-Here CO what you are referring is a controller.
-FYI pages share same controller.
-And the original controller for both the pages are OpptyUwqCO. Right now its extended controller is XXMASOpptyQryCO
Fact is I didn't create this search page. It was built by some third party members. Also that I do not have the original source nor the documentation pertaining to it. So could you inform as in how should I navigate to the point "Search Allowed = True"
I should have informed that at "B" page, it has a region /oracle/apps/asn/opportunity/webui/ASNMgrOpptyQryRN and at page "D", the region is /oracle/apps/asn/opportunity/webui/ASNOpptyQryRN
Edited by: 933590 on Jul 19, 2012 1:37 PM -
10G-form: How to do MULTIPLE WORD OR SINGLE WORD SEARCH at ITEM?
I am using 10G DB + 10G Form Builder.
I've 'database_item' where I am storing multiline text data.
I want to do MULTIPLE WORD OR SINGLE WORD SEARCH at this item through FORM.
I've tried by creating the following NON Database Items on the form:
- multiline_search_text_item, and
- multiline_result__text_item
And then writing execute_query in KEY-NEXT-ITEM trigger.
I've also tried using this in the POST-TEXT-ITEM at multiline_search_text_item:
select table.database_item into :multiline_result__text_item from table where multiline_search_text_item = :multiline_search_text_item;
Pl help me asap.
GauravWhat you want to do is not clear.
The query you wrote will select records where the table contains exactly what has been written in the search item. You can use LIKE and a wildcard search to find records which contain the search text:
select table.database_item into :multiline_result__text_item
from table
where multiline_search_text_item LIKE '%'||:multiline_search_text_item||'%';
You can use UPPER to make this case insensitive:
select table.database_item into :multiline_result__text_item
from table
where Upper(multiline_search_text_item) LIKE Upper('%'||:multiline_search_text_item||'%');
But I suspect you want either to match the individual words in the search text to individual words in the database multiline field, or find records where the search words appear (not necessarily as whole words). In that case, check out the following:
-- set up a table (multiline and various whitespaces)
DROP TABLE t;
CREATE TABLE t AS
SELECT
ROWNUM rn,
owner||Chr(9)||object_name||Chr(160)||subobject_name||' '||object_id||' '||
data_object_id||Chr(10)||object_type||' '||created||' '||last_ddl_time||' '||
timestamp||' '||status||' '||temporary||' '||generated||' '||secondary AS col
FROM all_objects;
-- check the format of the multiline text item (col)
SELECT * FROM t WHERE ROWNUM < 4;
-- a type for the function below
CREATE TYPE string_tab AS TABLE OF VARCHAR2(255);
-- this function takes a string and cuts out each word, idetifying words
-- as being separated by any whitespace. it returns a collection
CREATE OR REPLACE FUNCTION string_to_tab(
p_string IN VARCHAR2) RETURN string_tab IS
l_string LONG DEFAULT
RTrim(regexp_replace(p_string,'[[:space:]]+',' ')) || ' ';
l_data string_tab := string_tab();
n NUMBER;
BEGIN
LOOP
EXIT WHEN l_string IS NULL;
n := InStr(l_string, ' ');
l_data.extend;
l_data(l_data.Count) := LTrim(RTrim(SubStr(l_string, 1, n - 1)));
l_string := SubStr(l_string, n + 1);
END LOOP;
RETURN l_data;
END string_to_tab;
-- selecting from t where ANY of the words in the search text has
-- a match in the multiline field (as a word or part of a word), so SYS
-- matches to MDSYS and SYSTEM
SELECT DISTINCT
t.rn, t.col
FROM
t,
(SELECT column_value
FROM TABLE(CAST(string_to_tab('SYS INDEX') AS string_tab))) x
WHERE InStr(t.col,x.column_value) > 0;
-- selecting from t where ALL of the words in the search text has
-- a match in the multiline field (as a word or part of a word), so SYS
-- matches to MDSYS and SYSTEM
SELECT rn, col FROM(
SELECT
t.rn, t.col, cnt_x, Count(*) cnt
FROM
t,
(SELECT column_value , Count(1) over(PARTITION BY 1)cnt_x
FROM TABLE(CAST(string_to_tab('SYS INDEX') AS string_tab))) x
WHERE InStr(t.col,x.column_value) > 0
GROUP BY t.rn, t.col, cnt_x
WHERE cnt = cnt_x;
-- selecting from t where ANY of the words in the search text
-- match a word in the multiline field, so SYS matches only to SYS
SELECT DISTINCT
t.rn, t.col
FROM
t,
(TABLE(CAST(string_to_tab(t.col) AS string_tab))) t2,
(SELECT column_value
FROM TABLE(CAST(string_to_tab('SYS INDEX') AS string_tab))) x
WHERE t2.column_value = x.column_value;
-- selecting from t where ALL of the words in the search text
-- match a word in the multiline field, so SYS matches only to SYS
SELECT rn, col FROM(
SELECT
t.rn, t.col, cnt_x, Count(*) cnt
FROM
t,
(TABLE(CAST(string_to_tab(t.col) AS string_tab))) t2,
(SELECT column_value , Count(1) over(PARTITION BY 1)cnt_x
FROM TABLE(CAST(string_to_tab('SYS INDEX') AS string_tab))) x
WHERE t2.column_value = x.column_value
GROUP BY t.rn, t.col, cnt_x
WHERE cnt = cnt_x;For your application you would replace 'SYS INDEX' with a variable (the search field). You can use upper() and wildcards for case insensitive & 'fuzzy' searches. You might need to modify the function so it removes other delimiters such as commas and colons. -
How do you perform partial word search using PDF Open Parameters?
Hello,
We are using the 'search=' open parameter in the URL string, which open a PDF and automatically searches for a word within the PDF. It works great for whole word searches. Unfortunately, it does not work for partial word, or phrases. In other words, if I'm searching on '123456' and there is a word in the document that is '1234567', it will not find the partial word, or first 6 characters of the 7 character word. You can perform a partial or phrased search using the advance search feature of Adobe Reader. So, currently after the PDF opens, and shows no hits on the automatic search for '123456', we are able to manually search again for a partial word search, and then see matches in the document. Is there any way to specify to use a whole or partial word search when using the 'search=' open parameter, so that we can automatically match on partial and whole words? Something like 'search=123456*'?It never worked that way. Command-F shows the page search bar.
-
OIM 11g r1 custom field in simple user search result
Good morning,
i need to visualize a custom field in the OIM simple user search result table. At the moment, when a simple user search is performed, the returned attribute is only the "Display Name".
For the advanced user search result table, is possible to add other fields modifying the Search Results table configuration in Advanced->User configuration->Search Configuration.
How can i do the same the for simple user search result?
Thank you.Yes, i tried to add my custom attribute to both Simple and Adv search result table, but without luck. Only Display Name column attribute is shown when a simple search is performed.
-
How can I make a word search game in actionscript 3.0
How do you make a 9x9 square grid word search on flash actionscript 3.0
I used a great book on this subject.
Gary Rosenzweig: Game Programming University. -
Sometimes, when I click a link on a web page, I see in the address bar the words: "Search bookmarks and history" (greyed out) just before I am taken to the link I clicked. A moment later, when I'm at the link, its address appears in the address bar, and all is normal. It seems that this happens only from some particular sites. Is FireFox reporting that my bookmarks and history are being searched?
Should I be worried? Is someone searching my personal data? Is this just a FireFox error msg when it has trouble finding the website I requested?That is OK. Firefox will only display the link in the location bar after the DNS look up has succeeded and a connection to the server has been established. Until that has been done you see the default setting for the location bar: Tools > Options > Privacy > Location Bar: When using the location bar, suggest
-
WHy cant i get phone service? The word " searching " has been in the upper left hand corner for 3 days. I have internet service but no phone service. Does any one have any thoughts or suggestions?
When you say you have Internet service, are you connected to wifi? Have you tried a reset on the phone? Hold the sleep/wake and home buttons together until you see the Apple logo, then release. The phone will reboot. After it starts, see what happens. Do you have a valid SIM in the phone, one that is activated through a carrier? Have you contacted the carrier to see what they say, since phone service is a carrier responsibility?
-
Hi guys,
This one's quite advanced...
I'm working on a online book project that takes a .pdf,
converts each page into a JPEG and stores them to a unique folder.
I have created a flash file that the user is directed to upon the
.pdf's upload which detects via a querystring, the folder location,
and total number of pages. This, as you have probibly guessed, is
the online book, which has all the bells and whistles of page turn
animations, a goto page function etc...
My problem is this:
I need the application to have a word search function. I know
that ideally the .pdf would have been converted to text, but I
couldn't as the layout of test to images was nowhere near perfect
on the tests I ran.
Is there any OCR styled approach that I could use in flash? I
have created JAVA applets which have performed this task before,
but never within a .swf.
An option is to install an OCR program on the server which
will run dynamically after the .pdfs upload, and store the text
into a database, however, at best (I assume), this will only allow
the user to be taken to the page, and not the line, let alone
creating a transulcent highlight, for example, over the top of the
text.
I don't expect an answer, but any feedback would be geatly
appreciated.
Thanks in advance,
Peter McConnell
EG-Consulting.com
[email protected]I don't know the answer for OCR. I would be inclined to try
investigagate ways to avoid it that would involve loading the the
content into a swf format...e.g. like flashpaper... or search for
some other way to convert the pdf to swf whilst retaining the
formatting/appearance.
The flashpaper API has for example text searching capability
built in - I'm just not sure how much of the interface you can hide
(or may not be permitted to via the licencing agreement). And if
necessary then its also possible to use bitmapData copies of a swf
format if you need to manipulate it as an image once the swf has
loaded.
Of course if the original source is bitmap you would still
need to adress the OCR problem. Don't know if that helps. -
I'm running RH for HTML Help X4.1 on Windows XP. I want to
search through all the text in all of the topics for a particular
word or word string. Is that possible? I can't find anything that
lets me do that? I realize this is NOT Win Help where I'd be
searching a Word document, but it would be very helpful to be able
to do a whole-word search of the project. Thanks.
-davidJust a word of warning. It is good practice to close your RH
project down as the in built tool does occasionally fail to spot
instances in open topics/projects. Personally most authors on here
prefer to use other tools (e.g.
FAR or
BkReplacem). -
CF perform word search on PDF files?
Can CF MX (6.1 or 7) perform a word search of PDF documents?
What I would like to do, at the minimum, is have CF search
PDF files located in a directory for a specific word, and return a
list of files that have that word (or phrase) in them.
am I asking too much?
Thanks for any and all help.
RussYes. Use the Verity search engine that comes with
ColdFusion. -
READER IX opening equipment PDF to perform an internal Word SEARCH. How is this done?
Using Reader IX to open a Service Manual and then a Word SEARCH. How is this done?
thanks....
In a message dated 8/17/2014 9:00:29 P.M. Pacific Daylight Time,
[email protected] writes:
READER IX opening equipment PDF to perform an internal Word SEARCH. How is
this done?
created by ashutoshmehra (https://forums.adobe.com/people/ashutoshmehra)
in Adobe Reader - View the full discussion
(https://forums.adobe.com/message/6649441#6649441) -
Topic Not Showing in Word Search
Hi there,
I have an important Topic that I need to show in my word
search results, but it does not. As well, the Topic does not come
up when I click on it in the Index.
I have verified that the Key word is in the title of the
Topic I wat to show up. Any ideas what is causing this or how it
can be fixed?Welcome to the forum.
Can you access the topic in any way? I am wondering if you
have excluded it with a build tag. -
I can delete my Internet history but I can't delete my words searched in different web sites. Would you like to help me?
Hi Niel,
There may be a problem with the definition of the rule to delete the characteristic. If you go to transaction RSMRT
and use the 'check' option to check the rule you created are there any errors for the check?
If not when you get the error message that you mention is there any additional error messages created in sm21
or dumps in ST22?
If not there may be a problem with the consistency of the cube if you goto RSRV>All Elementary tests>Transaction data
and run these tests for the cubes are there any error messages? If yes please try to use the repair function in RSRV
to correct any errors.
If none of the above helps you should delete the run you created, make a dummy change to the cube (e.g add a '.'
to the description of the cube, save the change and then activate the cube, please then try and create the
remodelling rule again.
Best Regards,
Des.
Maybe you are looking for
-
Captivate 6 | A dozen or more bugs here or just strange "undocumentated features"
These are issues / bugs or bizarre nehaviours - some of them may be down to newbiew issues, but not many, read on if you dare... Setup MacBook Pro 17 Adobe Captivate 6.0.1.240 Firefox 19 (also Safari 6.0.2 and Chrome 24.0.1.1312.57 (but as you will s
-
Still trying to install CS2 on Windows 7 from download
This is my third or forth post. I have: Downloaded CS2 from the downloads page. I installed it using the serial number on that page. When I try to start Photoshop, it loads but then up pops a message saying "your user name, organaization or serial
-
Employee Search in Dynamic Navigation does not update other iViews (FPM)
Hi all, after selecting a person from Employee Search (MSS) we have to display corresponding data in a customer specific iView with help of selected person number. So I created a Floorplan Manager Application as described in https://www.sdn.sap.com/i
-
How can I use two Airport Express N's together
I have just purchased the new airport express n and I have the one that I am currently using which is also an n. How can I use both at the same time as part of the same network?
-
How to align label text to the left in Spark Button (no "textAlign" style)?
Hi all, "textAlign" style is excluded for Spark Button, and probably for a good reason. [Exclude(name="textAlign", kind="style")] If I want to align Spark Button text label to the left, should I create custom skin to accomplish that? Something e.g: