Posts

Showing posts from June, 2012

oracle - Casting a ref cursor into a table type in pl-sql -

I would like to insert a recircher in a table type as follows: The syntax below does not compile. The objective is to get the results of a refresher in a temporary table and then do some work on that table. Make the table vtest1 (number, b number); Make the table attractive (number 1, b number); POUT SYS_REFCURSOR declared; Type vtest1Tab is vtest1% rowtype's table; Start Open Pouch for 'Choose from Vtest1'; Choose from the Insert * tab in the experimental 1 (N1, N2) (Dot (Pouty as vtest1Tab)); Closed POUT; End; Thanks. You can use bulk archive and complete instead of ... select : Create table vtest1 (a number, b number); Insert Vtest1 values ​​(1,2); Make the table attractive (number 1, b number); POUT SYS_REFCURSOR declared; Type vtest1Tab is vtest1% rowtype's table; V_t vtest1Tab; Start Open Pouch for 'Choose from Vtest1'; POTT bulk gather in v_t; Closed POUT; Insert temptable1 values ​​in v_t (indx) for forall indx in V_t.first..v_t.la...

Android : How to use TouchListener to react to movement across button -

I am new to Android development and I was wondering if there is a way to add a TouchListener (or an Event Listener). Such a button is such that it responds to the movement of the entire area, for example, if I have the middle of the screen I have a button and I start swift from the top, then my reaction will be when my finger button reaches the area. This is the code that I thought was Private On-Touch Listener TLIS = New AutoTelevision () {Public Boolean On-Touch (see V, Motion Event Event ) Find button B = (button) VVBIID (R.B. button 1); B.setText ("touched"); return false; }}; Thanks for any help! Unfortunately not. Touch events are distributed by the parents to the child's thoughts, and only if the initial touch event (i.e. ACTION_DOWN) is found within the range of that view, if no viewer sees ACTION_DOWN, then for that gesture Also, touch events will not be visible later. It is not possible that this is not possible, but instead of setting up the ...

- Where Developers Learn, Share, & Build Careers

मेरे पास एक एमएस चार्ट है I मेरा कोड निम्न है: चार्ट। श्रृंखला [चार्ट प्रकार]। पॉइंट्स। डेटाविंड (xValues, xCaption, yValues, yCaption); Chart.ChartAreas [0] .AxisX.LabelStyle.Format = "CustomAxisXFormat"; Chart.FormatNumber + = नए इवेंटहैंडलर & lt; FormatNumberEventArgs & gt; (चार्ट_फ़ॉर्मेटनंबर); तब निजी शून्य चार्ट_फ़ॉर्मेटनंबर (ऑब्जेक्ट प्रेषक, FormatNumberEventArgs ई) {if (e.ElementType == चार्ट एलेमेंटटाइप। एक्सिसलैबल्स & amp; amp; e.format == "CustomAxisXFormat") {e.LocalizedValue = string.Format ("{0: hh tt}", नई दिनांकटाइम (1, 1, 2, (इंट) ई। वैल्यू, 0, 0)। एडहोर (-1) ); }} xValues ​​ और yValues ​​ इनर के सरणियां हैं। मुझे जो समस्या है, अगर XValues ​​= int [] {1,2,3} , जब chart_formatNumber ईवेंट को संभालता है, मान ( e.value ) में बदल जाता है { 2,3,4} । तो उसे सही मान बनाने के लिए घटाव करना है। क्या कोई मुझे बता सकता है कि क्या चल रहा है और / या कैसे मेरे मूल्यों को बदलने से MSChart को रोकने के लिए ? ठीक ...

multithreading - Strange memory leak in C++ with Eigen and boost::thread -

I have two threads in the program. They are created by using: Promotion: Thread. Two threads do not share anything in memory. No data structures or objects are shared between them. Now the second thread uses a class, in which private members are many Egene double matrix. I'm sure the Matrix Eigen is aligning using EIGEN_MAKE_ALIGNED_OPERATOR_NEW, etc. When the first thread is running the element in the second class matrix then the over is written. I checked that after inspection after the elements Should be a decimal from a sudden integer when the first thread is not running second, then there is no problem and its EEZEN members have the right values. Again: 1) Two threads do not share any data structure. 2) There is no rebuttal error message or some similar or some error message when programming is running. 3) Any suggestion how to protect the memory of another thread or how to violate memory? Thank you in advance I am sorry that I did not post the code, but it is to...

jQuery reducing code for better maintainability? -

In jQuery you can $ ("# id1, # ​​id2") You can. do something(); But if you have var $ id1 = $ ("# id1"); Var $ id2 = $ ("# id2"); Is there any way to group them together easily and execute doSomething ()? $ ($ id1, $ id2) .doSomething (); // error It's okay to have only two elements, but if I like more than 10 elements I'll need to repeat ... $ Id1.do (); $ Id2.doSomething (); .... Is it an easy way to group them? You can use it: var $ allIds = $ Id1.add ($ id2); $ AllIds.doSomething ();

- Where Developers Learn, Share, & Build Careers

संभव डुप्लिकेट: PHP में निम्न कोड चेतावनी देता है। & lt;? Php if (! Isset ($ _ सत्र)) {session_start (); // पंक्ति 4} यदि (! Isset ($ _ सत्र ['वैध_अडमिन'])) {हेडर ("स्थान: लॉगिन.एफ़पी"); // लाइन 9}? & Gt; चेतावनी: session_start () [function.session-start]: सत्र कुकी नहीं भेजा जा सकता - हेडर जो पहले से ही भेजे गए हैं (आउटपुट C: \ wamp \ www \ Wagafashion \ Order.php: 8) सी: \ wamp \ www \ wagafashion \ Lock.php पंक्ति 4 पर चेतावनी: session_start () [function.session-start]: सत्र कैश सीमक नहीं भेज सकते हैं - हेडर पहले ही भेजे गए हैं सी: \ wamp \ www \ wagafashion \ Order.php: 8) सी में: \ wamp \ www \ wagafashion \ Lock.php पंक्ति 4 पर चेतावनी: हेडर सूचना को संशोधित नहीं किया जा सकता है - हेडर जो पहले से ही भेजे गए हैं (आउटपुट C: \ wamp पर शुरू किया गया है \ Www \ wagafashion \ Order.php: 8) में सी: \ wamp \ www \ wagafashion \ Lock.php पंक्ति 9 पर मैंने खोज की और एक सवाल पाया लेकिन मैं अब तक वहां क्या बात है, उसे समझ में नहीं आ रहा है। मैं इसे ...

- Where Developers Learn, Share, & Build Careers

I've heard from many sources that there is a strict limit for 10 concurrent requests from Google App Engine instance. I was thinking that someone Explain what this means. Does the scheduler block any request beyond 10, or is it applied through a border on a concurrent thread? In particular, does this limit affect the affected instances in the same way that it is Python and Java? Edit: This feature is a request that will allow app engine instances to handle more than 10 concurrent requests / threads. . Please star it. This has been fixed on November 18, 2013. Runtime: go api_version: go1 auto_scaling: max_concurrent_requests: 80 controller: - url: /.* Script: _go_app The default is 8 and the maximum is 80. See for more information.

c++ - wxSizer and wxStaticBitmap ignore minimum size -

विज़ार्ड :: विज़ार्ड (wxWindow * parent, const wxString और archive): wxWizard (अभिभावक, wxID_ANY, _ ( "विज़ार्ड")) {this-> SetSizeHints (wxSize (-1, -1), wxDefaultSize); WxWizardPageSimple * rcModWizPageSelect = नया wxWizardPageSimple (this); M_pages.Add (rcModWizPageSelect); WxBoxSizer * bSizer1; BSizer1 = नया wxBoxSizer (wxVERTICAL); M_bitmap2 = नया wxStaticBitmap (rcModWizPageSelect, wxID_ANY, wxBitmap (wxT ("डेटा / img.jpg"), wxBITMAP_TYPE_ANY), wxDefaultPosition, wxDefaultSize, 0); M_bitmap2- & gt; सेटमिनआकार (wxSize (586,192)); BSizer1- & gt; जोड़ें (m_bitmap2, 0, wxALL | wxEXPAND | wxFIXED_MINSIZE, 5); WxStaticBoxSizer * sbSizer1; SbSizer1 = नया wxStaticBoxSizer (नया wxStaticBox (rcModWizPageSelect, wxID_ANY, _ ("संग्रह चुनें")), wxVERTICAL; RcModArchivePicker = नया wxFilePickerCtrl (rcModWizPageSelect, wxID_ANY, wxEmptyString, _ ("कोई फ़ाइल चुनें"), wxT ("*। ज़िप"), wxDefaultPosition, wxDefaultSize, wxFLP_DEFAULT...

Printing an array in php -

Now I understand that you can not use Echo to print the content of an array and you can use foreach It has to be used, but for some reason it does not work. Any ideas? $ rows = $ stmt-> Fatch ALL (); Forex currency ($ line as the $ key = & gt; $ line) {resonates "My value is $ line in the $ key"; }} Output: In 0, my value is ArrayMy's value at ArrayMy's value of 2 is Array It appears that you have used fetchAll from the PDO. This method returns an array of array (rows) in the internal arrays, column_name = & gt; For example, if you have retrieved columns 'first name' and 'last name' for the value element, then these values ​​will be for the first value $ rows [0] ['first name'] and $ rows [0] ['last name'] respectivelly The proper way to do this would be: $ rows = $ stmt-> Fatch ALL (); Forex currency ($ line as $ key = & gt; $ line) {foreach ($ column $ $ column = & gt; $ value) {...

- Where Developers Learn, Share, & Build Careers

I inherited a project and is comfortable with the development side of things, but there are poor sysops, and Capistrano deployment Is failing For a project deployed before the previous deed: submit cap: check is running fine, resulting in All the dependencies you have installed appear But when I try to deploy, I ... error: No stores found. ... I have: Triple examined the Gitubo Repo address It has been confirmed that I I can push and drag right away It has been confirmed that I can connect the Gitb to the server properly via SSH Confirm that I fix the repo on the server Tried with the agent Again, when the agent forwarding stops, then from the SSH server, Gitobb In the last god Area is for information back, which is still reaching Gitub repo. Hi xxxxxx! You have successfully verified, but GitHub has not provided shell access. When agent forwarding is turned on, I show as being a certified user. Any suggestions on solving this? More than hap...

php - How to fix mysql subquery display -

चुनें उपयोगकर्ता। उपयोगकर्ता नाम, IFNULL (SUM (क्रेडिट) - SUM (डेबिट), 0) कुल, ( SELECT SUM (Bid.credit) - SUM (bid.debit) के रूप में उपयोगकर्ता द्वारा मुफ्त बीड्स के रूप में उपयोगकर्ता के रूप में निविदाएं बोली के रूप में बोली पर बोली के रूप में बोली- user.id = User.id बोली बोली प्रकार = 2) फ्री बीड्स के रूप में, (SELECT SUM (Bid.credit) ) - एसयूएम (बिड.डिबट) एएस सामान्य बीड्स के रूप में उपयोगकर्ता से उपयोगकर्ता के रूप में बोली के रूप में निविदाएं बोली- बोली-। उपयोगकर्ता = बोली के रूप में बोली = प्रकार या बोली = प्रकार = 1) उपयोगकर्ता द्वारा सामान्य बिड्स के रूप में प्रयोक्ता के रूप में छोड़ दें जुड़िये बोली बोली- बोली पर बोली- user.id उपयोगकर्ता यह मेरी नमूना तालिका है: उपयोगकर्ताओं के लिए आईडी उपयोगकर्ता नाम 1 उपयोगकर्ता 1 2 उपयोगकर्ता 2 3 उपयोगकर्ता के लिए 4 उपयोगकर्ता 4 बोलियों के लिए आईडी user_id डेबिट क्रेडिट प्रकार 1 1 0 10 0 2 1 1 5 2 3 1 1 0 2 4 3 0 10 0 6 2 0 10 0 7 4 1 10 0 8 4 1 0 1 लेकिन मुझे सबक्यूरी (फ्रीबिड्स और सामान्य बीड्स) को प्रदर्शित करने में ...

javascript - How can I expand the radius of a light bloom? -

I am writing a software filter object and am trying to implement a light bloom effect. I am using a simple, two-pass compressed approach which works fine except that the effect radius is small and I can not control the radius. I played with the big box filter and adjusted the weight of various pixels. But none of them seems to have any effect. The effect seems to be the maximum size (which is not very large) and then all the changes in the parameter just serve to minimize it. I want to be able to create a light bloom together Arbitrary radius After many experiments and online search, I wonder if it can not be done right now. I'm thinking about alternative methods - plasma, gradients, and various Beijing plans- but I want to hit this path for the first time on the ground. Does anyone know how to make an arbitrary shape light bloom (in software)? The Javascript is as follows (it operates on an HTML5 canvas; I can add the code to the comment at the need): // This kernel wor...

how does IOS decode an image(JPEG or PNG) by CGImage ? Is this the most efficient way? -

We image an image (JPEG / PNG) in bitmap on iOS, generally, decoded by CGImage . Now I want to know whether it is the most efficient way to decode an image? Or can anyone tell me that any API for us to decode an image by itself on iOS? You can use to decode PNG files, but I do not know how much more Will be efficient. Apart from this you will not be able to use it with UIKit without making UI or CGI image, so what's the matter?

3D audio in android -

I am trying to create an application to produce 3D audio in Android. I am using the Soundpull class and I am able to make a Parning effect (left right audio at the angle of 90 degrees from the listener) I am thinking that I can apply some algorithm to create 3D positional audio which is 45 Coming from the degree. Thank you I do not know what your coding experience is, but the Android class may be that What are you looking for? What can you possibly find on the documentation you are looking for? I have seen somewhere that you have made an example, set it to feed with audio and panning with setStereoVolume. So you just have to convert 3D audio sources to the left and right stereo volume and you have 3D sound in Android. Hope that helps.

ruby on rails - rake assets:precompile aborting, can't push to heroku -

I am using the ANK blogging gem, it works locally, it works locally I have tried to precompile and this is /Users/me/.rvm/rubies/ruby-1.9.3-rc1/bin/ruby/Users/me/.rvm/gems / Ruby done -1.9.3- RC1 @ RBI 193 / Bean / RAP Asset: Precompile: All RARS_Anv = Production RARS_GRUUPS = Rack of Assets Rack! Can not load such files - uglifier (/Users/me/Sites/bayani/app/assets/javascripts/admin.js) I have an Enki blog for trouble The push was never done before and, though, I do not know where to get rid of, I remember that I have seen it in other NKI blogs, so I do not know why this is causing the problem now. > When I pushed Haroko and canceled the precompile with it Applications for asset pipeline running to prepare: rake assets: precompile rake aborted! No file to load - Eugglifire (in /tmp/build_5tbsi7k7ddhk/app/assets/javascripts/admin.js) Tasks: Top = & gt; Property: precompile: See full trace by running the work with primary (--trace) failed in the precompiling propert...

- Where Developers Learn, Share, & Build Careers

Image
I have a text file of approximately 2000 lines, which is created like this: 1 1 Name 1 Last N 1 58C 1600 1310.40 6 1 0.22 2164.80 1 2 1 Name 2 Last N 2 22D 1700 1523.37 4 1 0.13 897.26 1 1 3 3 Name 3 Last N 3 34 C 1600 11 9 5.84 2 1 0.26 836.16 1 2000 3 NameX LastNX 46 d 6000 6000.00 1 0 0.00 0.00 1 What I want to do is read all those values ​​from the text file and store them in arrays: Integer ID [2100]; Four numerals [2100] [30]; Four Applesido [2100] [30]; Int Adad [2100]; Int Pusto [2100]; Four citogora [2100]; Int'l Sealdo I [2100]; Float Sulemo A [2100]; Int antigezed [2100]; Intentitro [2100]; Float Airport [2100]; Float Ahoro [2100]; Intibre Libre [2100]; But when I am trying to read them, I got lots of garbage in the console The way I am trying to read and store them In arrays: // path no. 1 four line [70]; While (fgets (line, 70, data)! = Null) {flush (;); Sscanf (line, "% d% d% s% s% d% c% d% f% d% d% f% f% d \ n", and id [i], & am...

Drupal 7 filter field current user -

I have created a custom event content type in Drupal 7, which contains the user area of ​​the teacher and student. I would like to create a scene in which the content is displayed only for users who are either teachers or students in that material - a custom calendar. So far, I have tried to create a filter Content: Teacher (Field_Tekers) , Users: uid and Users I know that this is a syntax problem, but I need currently logged in user value To obtain currently logged in user UID, follow this code snippet. Global $ user; $ Uid = $ user- & gt; UID; Hope this works ... Muhammad

- Where Developers Learn, Share, & Build Careers

If I have been using the file copying the following SetOutPath " $ FOO_DIR "file" .. \ .. \ Bar.Dat "... SetOutPath" $ OTHER_FOO_DIR "file" .. \ .. \ Bar.Dat " Note that the file Bar DAT is later thought to be copied to other places during installation. How can I change its name for this specific copy operation? If I rename it on then the subsequent operations will not find it. I will set the destination file name to the file operation I'm looking for, but one can not get one. Of course I could get the answer directly after posting this question. * Smoke * The file actually takes the flag of the destination name. file ".. ... .. bar.DAT" /oname="DestinationNameOfFile.Dat "

c# - WPF Canvas Line object visibily -

मेरे पास ऐसे एक लेआउट के साथ एक WPF फॉर्म है: & lt; ग्रिड & gt; & LT; डेटा ग्रिड & gt; ... & lt; / DataGrid & gt; & LT; कैनवास & gt; ... रनटाइम पर बनाई गई लाइनें शामिल हैं ... & lt; / canvas & gt; & Lt; / ग्रिड & gt; आप देख सकते हैं कि मेरे पास एक डाटाग्रीड है जहां मैं फ़ाइलों को लोड करता हूं। दैटग्रिड के कुछ कक्ष लाइनों से जुड़ा हो रहे हैं। इन पंक्तियों को कैनवास में रखा गया है यह सब वास्तव में ठीक काम करता है लेकिन अब मेरे पास एक बड़ी समस्या है मैं अपने पूरे फॉर्म को ज़ेड-इंडेक्स से नहीं जाने के लिए सभी लाइनों को अक्षम कर सकता हूं। केवल एक ऐसा क्षेत्र जहां वे नीचे स्क्रॉल करते हैं, वे हैं DataGridColumnHeader क्या आपके पास कोई भी विचार है कि मैं क्या कर सकता हूं कि रेखाएं कम Z- इंडेक्स है, फिर मेरा DataGridColumnHeader, लेकिन एक बड़ा या मेरे DataGridCells के समान? आप इस समस्या को किसी सेट के माध्यम से हल नहीं कर सकते, क्योंकि यह इंडेक्स केवल एक पैनल के भीतर तत्वों के z- क्रम को नियंत्रित करता है। आप हालांकि कैनवस को...

- Where Developers Learn, Share, & Build Careers

itemprop = "text"> I have a SharePoint site (not SP expert) where the user is the authentication model based on the logon form where the user's password is Stored in a DB ... When the user clicks a link I want to redirect him to a MVC3 application. While doing so, I want to officially sign the user in the MVC application. What is the best way to implement it? Thanks One way is to SharePoint Pass the authentication token next to another web application in the http header, then, before reaching the web site the MVC application should validate the token.

- Where Developers Learn, Share, & Build Careers

I see the code in the window in C ++. It is mentioned that 1 tick is equal to 100 nanosecond Is it typical for windows? Or is this a common standard, if this is the standard name? Is this the same on other OS? To ask the above questions, I have to write a platform independent code, if this is Windows specific, then I have to add #ifdef WIN32 for this part of the code. This is Microsoft specific: Tick the smallest unit of time That is equal to 100 nanoseconds. A tick can be negative or positive. In the Linux system you can use a high granularity timer to get the accuracy of 100 nanoseconds, but you have to handle them differently.

vb.net - VB6.SetItemData(combobox, i, rd.Fields("XXX").Value) -

I am changing VB2 to VB2 using VS2010 When I changed the code So I found something that I do not understand is what the code is doing and what is happening and how it can be changed very well. i = 0 while not rd.EOF cobTmp.Items.Insert (i, value ("r"). Value = "1234" then intloc1234 = i end ("d"). Value ) VB6.SetItemData (cobTmp, i, rd.Fields ( "R"). If rd.MoveNext () Debug.Print (VB6.TabLayout (VB6.GetItemData (cobTmp, i), VB6.GetItemString (cobTmp, i)) ) I = i + 1 end while How can I handle this code well: debug. Print (VB 6.TabLayout (VB6.GetItemData (cobTmp, i), VB6.GetItemString (cobTmp, i))) I cobTmp.item (i) to VB6.GetItemData (cobTmp, i) ? P> how VB6.TabLayout ?? I know that they are ignored Go I want to do it better. , : In Visual Basic 6.0, the itemData property for a ListBox or ComboBox control can be set at design time to associate an integer with a list box or combo box item property window. In Vis...

shell - Why is my pipe in Linux getting stuck? -

मैं इसे गोलाबारी कर रहा हूँ: mkfifo my_fifo इस अनुमति के साथ: prw-r - r-- तब मैं करता हूं: echo यह मेरा फीफो है & gt; My_fifo लेकिन यह फंस जाता है और किसी अन्य शेल से दस सेकंड के बाद my_fifo का आकार शून्य है। ऐसा क्यों है? टर्मिनल में 1: $ cat & gt; टर्मिनल 2 में: $ cat my_fifo उस प्रकार के टर्मिनल 1 में कुछ और टर्मिनल की जांच करें 2। फीफा आकार के बारे में नोट: यह हमेशा 0 होता है क्योंकि यह नियमित फाइल नहीं है, लेकिन नामित पाइप जो डिस्क के बजाय रैम का उपयोग करता है।

how to intercept outgoing SMS in Android? -

कृपया देशी ऐप का चयन करने के बाद अवरोधन एसएमएस के लिए समाधान खोजने में मेरी मदद करें से चयनकर्ता , जबकि एसएमएस भेजना , मैंने इस समस्या के लिए R & amp; डी किया है और पाया है कि हम उस पर जावक एसएमएस नहीं रोक सकते चुनेदार से देशी ऐप चुनने के बाद का समय। इसलिए यदि किसी को इस मुद्दे के बारे में अनुभव है तो कृपया इसे साझा करें और इसे अत्यधिक सराहना होगा। धन्यवाद यह आवेदन के नजरिए से संभव नहीं है क्योंकि एसएमएस भेजने से SMSManager द्वारा नियंत्रित किया जाता है टेलीफोनी स्तर पर भेजने के साथ काम करने वाले फ्रेमवर्क के साथ संपर्क करता है, जो कि नहीं एक एप्लिकेशन परत से सुलभ है। हालांकि; आप आपूर्ति की टिप्पणी के सुझावों में से किसी एक का उपयोग कर डेटाबेस में डेटा का उपयोग कर सकते हैं।

extjs - Changing views on button click in Sencha Touch -

I came to a situation in irrigation touch, where I have to make changes in another view by clicking on a button. My view1 is a dashboard that displays approximately 8 icons and different views are shown on each icon's click. Therefore, I placed a Home button in the header of those 8 different scenes and I am trying to get back to the dashboard which is not hidden. Instead it is showing a blank screen and for me anybody in the console Error not displayed. My code was changed to change the view on the button: {xtype: 'button', CLS: 'CLS home', text: 'home', style: ' Background: # 4A4245; Color: white; ', handler: function () {console.log ("clicked home"); Var DashboardPanel = Extensions. ('AppSupport.view.DashBoard'); Ext.Viewport.add (dashboardPanel); //Ext.Viewport.setActiveItem (DishboardPayPal, type: 'slide', direction: 'left'}); }} Help friends ... Thanks in advance ... !!! You should try to use...

objective c - How to select multiple items in a dropdown box in iPhone? -

I'm an iPhone developer. I'm trying to select multiple items in the dropdown box in the iPhone. Have tried, but unable to do it. Please suggest me it is really important to me. Thanks in advance Fabre .. Is there a dropdown box in the iPhone? I am silent that they are not present and are usually replaced by table wives or pickers. What I will do is, it is a table visit with self-made cell views that combines the text and buttons of 2 states which do not design a box check or button based on state. Behind it should work fine with the proper controller.

bootstrap: form-horizontal not styling as expected -

I am using Twitter Bootstrap and want a horizontal look as shown in a demo here: However, I get a type of vertical form, which I think with the label in control, I do not know why vertical form styling is not working. Here is the html code (generated from Symphony 2 framework: Is something wrong? You need to implement the .control-label class in your label For your form styling and .controls , separate your input to apply the container correctly. Try it instead: & lt; Form class = "form-horizontal" method = "POST" action = "/ yourownpoet / web / app_dev.php / register /" & gt; & Lt; Div class = "control-group" & gt; = "Fos_user_registration_form_email" placeholder = "email" & gt; Email: & lt; / Label & gt; For & lt; Label class = "control-label required" & lt; Div class = "control" & gt; & Lt; Input id = "fos_user_registration_form_em...

javascript - Binding JSON file with Knockout.js using ko.mapping.JS() -

I have a JSON file. The server often updates the JSON file whenever the JSON file is updated, then my view data should be automatically updated. This is my script var initData = [{Sahara: Ko.SourceWeb ("text")}]; Var VisualModel = {Statistics: Ko.Mapping.frames (Intadata)}; Ko.applyBindings (ViewModel); SetInterval (function () ($ .getJSON ('sample.json', function (newrzult) {var newfunction = ko.mapping.fromJS (newResult.Data); visiblemodel.stats (newfunction);});}, 1000 ); What do I need: I am using the Interlayeweave function set here to update the view for every second, which works fine But I have to be a listener, who hears whether the JSN has been updated by the server and when the listener realizes that Jason File Server If the update is done, then it should trigger the 'Update View function'. How can I do this here is my body Data --Bind = "foreach: stats" & gt; & lt; input type = "text" data-bound = ...

php - PayPal Pro Hosted Solution and 3D Secure Cards -

मैं वर्तमान में पेपैल प्रो होस्टेड समाधान, आईफ्रेम संस्करण को एक ईकामर्स समाधान में एकीकृत कर रहा हूं। पेपैल सैंडबॉक्स का उपयोग करके, मैं परीक्षण वीज़ा और मास्टरकार्ड लेनदेन को ठीक कर सकता हूं, लेकिन मेरे यूके मास्ट्रो लेनदेन को हमेशा त्रुटि संदेश के साथ अस्वीकार कर दिया गया है: 'यह लेन-देन संसाधित नहीं किया जा सकता है। कृपया एक अन्य कार्ड के साथ भुगतान करें। ' यह मेरा फ़ॉर्म है, जो कि iframe को कॉल करता है: & lt; form target = "hss_iframe" name = "form_iframe" method = " पोस्ट "एक्शन =" https://securepayments.sandbox.paypal.com/acquiringweb "& gt; & Lt;! - पेपाल विवरण - & gt; & Lt; इनपुट प्रकार = "छिपा हुआ" नाम = "सीएमडी" मान = "_ होस्टेड-भुगतान" & gt; & Lt; इनपुट प्रकार = "छिपा हुआ" नाम = "व्यवसाय" मान = "XXXXXXXX" & gt; & Lt; इनपुट प्रकार = "छिपा हुआ" नाम = "भुगतान गतिविधि" मान = "बिक्री" & gt; ...

java - How to get Httpclient GEtMethod Response in XML/JSON format -

I am using the HTT Client's Gotmip to get content in the URL. There is nothing in the URL but under this 2 directories need me to read and display those directory names. I'm getting that page as an HTML source response, something like & lt; UL> & lt; Li> & lt; A href = "library /"> library / & lt; / A> & lt; / Li> & lt; Li> & lt; A href = "services /"> Services / & lt; / Li> & lt; / Ul> I think, feedback in XML format or Jason will be easy to use. Is there any way to get feedback in Json / xml format? I tried to change the content type which There is no responsibility. Customer can only tell in that format how he would like the response and if the server supports it the customer will get it in the desired format.

sql server - Delete repeating data C# to SQL conversion -

I need to delete the repetitive user information from the database. My c # code is below, but I'm surprised How to get it in SQL without using the cursor I think the trick starts by getting the remaining rows of dashed datasets individually by the first rows or email. In C #, I repeat the email by group of 1000 and leave the remaining rows first one. list & lt; String & gt; Top1000_emails; Do {top1000_emails = sql.dbCommand.GetFirstColumn & lt; String & gt; (@ "Select Top 1000 Emails with e-mail from userbusiness group" (e-mail)> 1); (EnterI = 0; I & lt; Top -1000_Email.Count; I ++) {var tmpids = sql.dbCommand.GetFirstColumn & lt; Long & gt; ("Choose from the userbase [id] where email = {0}", top 1000_mail [ii]). (1) Go; Sql.dbCommand.DeleteByIds & LT; Usbase & gt; (Tmpids); }} While (top1000_emails.Count> gt; 0); You can do this easily through SIL, such as (if you have SQL Server 2005) or higher): ; Together ...

visual studio 2010 - VS2010 Highlighting Issue -

Image
I have a deep subject in VS2010 I like To debug and return, where I stepped into a method, I can hardly read the code. Does anyone know which font / color setting is, do I need to change to make it more legible? itemprop = "text"> try device - options - environment - font and color then current statement displayed item.

- Where Developers Learn, Share, & Build Careers

I just need a regular expression that will validate the phone not entered in the text box. This textbox can only allow numbers, dashes (-) and plus (+) and can be up to 15 characters and a minimum of 11 characters. (+) Can (Optional) come only on starting the phone number. Please answer. The answer to your question is on: \ +? [\ D]] {1,13} \ +? means "a '+' character of zero" [\ d -] {1,13} means 1 to 13 digits or hyphen " However, I think that you should use some more instructions. At least 8 digits may be required and the hyphen can not be either first or last: ^ (? = (. * \ D) {8,13}) \ +? (?! -) [\ d -] * (? & Lt;! -) $

- Where Developers Learn, Share, & Build Careers

I have objects in an array, short, and [], and each object has many relation to 0 in this array Other Objectives (Goals) How can I put this object, the balls in another array? Some objects are connected in less and 2 are rounded, some are connected to 4. (Dynamic User Editing) I do not know how many targets in advance will connect the array to an object less and? How do I solve this? Perhaps for a loop? Maybe in a 2-dimensional array? I'm actually living with it. Good 2-dimensional array is a good solution, but instead of using it for loop, Use the predictions to add objects to [and] Apply forecasts to the target array and add the resulting array to the short array.

- Where Developers Learn, Share, & Build Careers

I have a form with MenuStrip and PictureBox . I subscribe to PictureBox from Paint event with the following code: Private Zero ImageBox 1_Paint (Object Sender, PaintEventArgs e) {pictureBox1 . Image = new bitmap (picture box 1. wide, picture box 1.high); // Other code but above line reflects the problem} causes the menu strip to be white - I do not see the text till then I can move around it - even if PictureBox Menu does not overlap at all, I will end up with the menuStrip1.Update () I can put it, but this can lead to other problems. to assign any drawing instead of specifying PictureBox Use the PaintEventArgs . Private Zero PictureBox 1_Paint (Object Sender, PaintEventArgs e) {e.Graphics.Clear (Color.Gray); }

- Where Developers Learn, Share, & Build Careers

I've been trying to fix this problem for the last 2-3 hours, but finally left it. This is part of my JavaScript / jquery $ (function () {$ ('' ob '). ); Var form_data = {id: id, ob: 3}; $ .ajax ({url: "changeinfo.php", type: 'post', data: form_data, success: function (data) {$ ("# finfoob3 ") .html (data);}}); details are false;});}); The above successfully modifies a DIV element on the change. However in that div element, there is an ID = obt3 button that does not work. Actually, this name was written on something else. I have sent another post value OB to call AJAX and have included it with receiving so that it is obt3. I then put the button to get the ID but it still will not respond to a click event. I tried to check the element with Google Chrome and the ID of the element was successfully converted into obt3, but it will not be answered on click event. The problem is that when you changed the contents of #finfoob3 Wi...

- Where Developers Learn, Share, & Build Careers

I want to use lftp at the beginning of a wrapped script, but how do I exclude the script from outside lftp Can I go processing? I have tried to end the LFTTP part with "exit", "quit" and "bye", but they stop all the scripts. Earlier, I was divided into two scripts and they had cronched to run in the correct order. Is it possible to add them to a script? or use more clearly & lt; & Lt; Eof e.g. #! / Bin / bish # cmp 01.04.2013 # # & lt; & Lt; EOF is the functional equivalent of hitting down. # Lftp -e 'mirror -R / home / pi / LocalDirToMirror ~ / TargetDir' -u YourUsername, YourPassword ftp: // FTP_URL_Location & lt; on your keyboard. 0 EOF while exiting EOF

css - Fixing HTML5 for IE8 -

I can not understand why the following code does not work properly in IE8, but works perfectly in Chrome. Please advise any mistake in the code, or if I have a work-around then I can apply it quickly. & lt ;! DOCTYPE html & gt; & Lt; Html lang = "en" & gt; & Lt; Top & gt; & Lt; Meta name = "description" content = "orlando cake balls" & gt; Cake balls, cake balls, cake cake cake, orlando cake, cake pop recipes, what is a cake pop, a cake ball, cake, ball, cake, balls, orlando, what's that? Pop, recipes, what "gt; & lt; meta name =" author "content =" quinn "> gt; meta charset =" utf-8 "/> gt; title & gt; orl Cake Balls & lt; / title & gt; link rel = "stylesheet" type = "text / css" href = "StyleSheet.css" /> & lt ;! - Google Analytics - & gt; & Lt ; Script type = "text / javascript"> var _gaq = _gaq ||...

jQuery callback in .hover callback -

After hiding the element outside of the mouse I am trying to remove an add element. What have I done with callback in callback? // start of $ (document) .ready (function () {$ (document) .ready (function () $ ('.custom-right-box a'). Function () {$ (this) .append ('& lt; div class = "click-here" & gt; & lt; b & gt; Click & lt; / b & gt; & lt; span & gt; ($ Width: '88px', height: '58px', margin lift: '-44px', & quot; here & lt; / span & gt; & lt; / div & gt; '); $ (' click -here '). Margin Top:' -40px '}, {duration: 300});}, function () {$ ('. ') .pause (). Animate ({width:' 0px ', Height: '0 pixels', margin lift: '-0px', margintop: '-0px'}, {duration: 300}), function () {$ (click. ();}}}} // $ OFIN (document) .ready (function () {}); In your code fixes: }, {duration: 300}), // -> Remove this console task ( $ {...

asp.net - How to return errors or notifications from JSON Action method to Ajax forms? -

Assume that we have a standard Ajax form with the following syntax: @ Using (Ajax.BeginForm ("AddCityJson", "City", New AjaxOptions {HttpMethod = "post", OnSuccess = "JScriptOnSuccess ();", OnFailure = "JScriptOnFailure"}))) {... form field here. .} A simple form that gathers some information about a city, submits and saves it. We get the information on the controller side if everything goes well then we correct the on-the -space AjaxOption and if unsuccessful false ones are returned: public JsonResult AddCityJson (form collection selection) {var city = new city ... ... populate in the field from the field in the archive} var cityRepository = new city repository; City = City Repository SaveArudit (city); If (city == faucet) {back Jason (false)} returns Jason (true); } I need to add various tests inside the controller AddCityJson method. Probably to check that the name of the city already exists or any other validation and ...

ruby on rails - RSpec request object is nil -

I am trying to test for cookies in my request: The 'spec_helper' 'description of cookies' should be set correctly '' request.cookies ['foo'] = 'bar' and end but it will give me the Undefined method returns 'cookies': NilClass . How do I fix it? request object will be zero inside you test case unless you have a method get , post , delete , put , etc. . For example, if you get root_path before request.cookies ['foo'] = 'bar' then your code works Will do

HTML entity for check mark -

Image
संभव डुप्लिकेट: क्या कोई चेक मार्क के लिए एक HTML इकाई है? मैंने इसे विभिन्न एचटीएमएल चीजों में खोज की है, लेकिन इसे नहीं मिला ऐसा कुछ? ✔ यदि हां, तो HTML & amp; # 10004; और & Amp; # 10003; एक हल्का एक देता है: ✓

php - Is it possible to nest wordpress shortcodes that are the same shortcode? -

I know that if they use do_shortcode wrapper, then it is possible to nest the shortcodes, however, codex says : "Although the parser will fail if the shortcode macro is used to do another macro of the same name:" Is there a way around this? For example, if I have a shortcode to create a div: some content in [div] div [/ div] I want to be able to use: [div] [div] a nested div [/ div] [/ div] But this standard will fail with the do_shortcode wrapper. I have a duplicate of the shortcode attached to _parent attached to my temporary outline name, but I have not created div_parent1, div_parent2 etc. only from the Nest 1 level depth ... If you are writing a shortcut then there is a simple solution that you can write several shortcodes that call the same function. I have shortcodes to create HTML blocks such as divs, and many such names such as div, block1, block2 add_shortcode ('div', 'devondev_block'); Add_shortcode ('block',...

ios5 - iOS CAEmitterCell firework effect -

Image
I want to create effects like fireworks. I know that I can use it for CAEmitterCell I tried to download some examples, but still is running with this feature in iOS 5.0 Any good tutorial knows that CAEmitterCell How can the fireworks effect be used? I need to create something like this: All particles are going from center to center (red circle) for green circles. The red circle is the starting point in which some CGPET values ​​will be. I have found this solution: How does this look like the DWFParticleView.h file #import & lt; UIKit / UIKit.h & gt; @ Interface DWPpartial view: UIVUE @ property (nonomatic) CG float time; - (zero) configurateEmmiter; - (zero) setEmitterPositionFromTouch: (UITouch *) T; - (zero) set ISMT: (BLL) editing and point: (CG point) point; @end How it looks DWFParticleView.m #import "DWFParticleView.h" #import & lt; Quartzcore / Quartzcoreot & gt; @ Implementation DWFParticleView {CAEmitterLayer * fireEmitter...

iphone - JSON answer to check if a server is reachable -

I have an app that has just opened up a webserver page which gives me a Jason string when I am all over the local network Working without problems, but when I open the application outside of the local network and how can I control the json string without crashing the VPN app? This is my code: NSString * urlstr = [[NSString alloc] initWithFormat: @ "% @ yes.php", AV]; NSDRL * URL = [[NSROLLOOL] InitWestString: URLState]; NSError * Error = Zero; NSString * urlString = [NSString stringWithContentsOfURL: url encoding: NSASCIIStringEncoding Error: & amp; Error]; NSString * newStr; NSDT * Data = [New STR Data Using Encoding: NSUTF 8 String Encoding]; NSDictionary * json = [NSJSNSArulization JSONObjectWithData: Data Option: kNilOptions Error: & amp; Error]; Sn1 = [[Jason ObjectForcae: @ "Riley 1"] interview]; I want to compare the json answer with a zero value, if two criteria are identical I will show a warning. Edit: If I try to read any value, the a...

Winamp Shoutcast streaming wordpress -

Is there any way to add a player to WordPress, which is the stream Winamp radio? Http://94.127.2.98:8000/radio.m3u http://94.127.2.98:8000/radio I use the JW player for our radio station Download the file here Will look: & lt; Script src = "http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" & gt; Var flashvars = {'file': 'http://94.127.2.98:8000/ .stream.nsv', 'title': 'your stream', 'type': 'sound', 'duration': '99999' 'Front color': 'FFFFF', // Text & amp; 'Backclosure': '2D5C88', // Playlist background 'Lightclosure': 'C 286 BA', // Selected Text / Track Highlight 'Screen Color': 'FFFFF', // Screen Background 'ID': 'Player id', 'autostart': 'true'}; Var Parameters = {'Accepta...

- Where Developers Learn, Share, & Build Careers

I'm still a newbie with Xcode. I have added a third party open source project for my project. Your goal has been added to the dependencies, and the ".a" file is added to "binary links" with ".b" libraries. However, I discovered the error in the source code of this project. Now when I have corrected this error, how can I rebuild this project so that I can replace this new project with my Can I use the code I got? Thanks If your project is linked to this open source library, then Changes made to the source files of that library will be identified by your project. So, in a nutshell, just build normally.

- Where Developers Learn, Share, & Build Careers

I am trying to work on my CentOS 6 server, I have unexpected files, but when I run the command I am getting an error. I'm running wktmltoimage-i386 --load Ignore Terror-Handling /var/www/vhosts/website.com/httpdocs/img/example. Jpg I am getting the error Wkhtmltoimage-i386: Error while loading the shared library: libfontconfig.so.1: does not open the shared object file Could not: Do not have such a file or directory I have followed several tutorials but I'm not fortunate enough to have my background with Windows servers, so Will greatly appreciate any help. I have only one error when I used wkhtmltoimage-i386 I started using this version Did it and it worked. Try it Updated: Regarding this error, you can install the missing directory by the following command: CentOs: yum install libfontconfig.so.1 or on other: apt-Libfontconfig Install .so.1

Issue getting msgBox work in Google Apps Script web app -

मुझे Google Apps स्क्रिप्ट वेब एप के साथ एक छोटी सी समस्या है। निम्न स्क्रिप्ट नमूना वेब ऐप में एक बार इसके अंदर दस्तावेज़ों का काम करता है। लेकिन एक ब्राउज़र में अकेले खड़े ऐप के रूप में, मैं त्रुटि संदेश रखता हूं। कृपया ब्राउज़र में "Browser.msgbox (prompt)" कैसे काम कर सकता हूं? अगर आप त्रुटि संदेश देखना चाहते हैं, तो एप को एक्सेस किया जा सकता है । // स्क्रिप्ट-ए- ऐप टेम्प्लेट। फ़ंक्शन doGet () {var app = UiApp.createApplication (); Var बटन = app.createButton ('मुझे क्लिक करें'); app.add (बटन); Var label = app.createLabel ('बटन क्लिक किया गया था।') .setId ('statusLabel') .सेटविज़िबल (गलत); app.add (लेबल); Var हेन्डलर = ऐप.क्रेतेसेरहैंडलर ('MyClickHandler'); handler.addCallbackElement (लेबल); button.addClickHandler (हैंडलर); वापसी एप्लिकेशन; } फ़ंक्शन myClickHandler (ई) {var app = UiApp.getActiveApplication (); Var लेबल = app.getElementById ('statusLabel'); label.setVisible (सही); Browser.msgbox ("हैलो वर्ल्ड"); /...

Solr admin console - how to use Request Handler field? -

Image
I'm on Solar 3.6.1 and trying to figure out that the admin for a non-default handler How to use the console. I tried the following differences: / customhandler / select & amp; Qt = customhandler / select / customhandler None of those works and I have been haunting myself that I am missing something very clear, but I do not think about it can. By looking at the definition of the request handler, I believe you have to add a forward slash in front of the name & lt ; RequestHandler name = "/ customhandler" class = "solr.SearchHandler" & gt; .... and & lt; / RequestHandler & gt;

- Where Developers Learn, Share, & Build Careers

This one is confused with me. I'm still a newbie with tracks so it can be easy. Status: I can add items to the cart, no problem Everything works fine The current_cart method resolves each request for the same cart. But as soon as I remove a line item from the cart, it works, the line item is removed, but "variable [session_ cart]" becomes zero, and there is a new car When the current card is called next time, it was made. I am using Devise so I am not sure whether to do something with it, or perhaps the line item removal method The question is, is there anybody It helps to understand why the session variable is being cleared after removing the line_item? I have a train application, with the sprinting web development with the following railing. First of all, the code for the application controller has been retrieved to retrieve the current cart: private def current_cart Checkout :: Cart.find (session [: cart_id]) Rescue ActiveRecord :: RecordNotFound C...

- Where Developers Learn, Share, & Build Careers

The way I thought it was not working here are my classes: class app {public $ db; Public function __ composition ($ db) {$ this- & gt; Db = $ db; }} Class analysis app {public $ analysis_id; Public function __ composition ($ analysis_id) {$ this- & gt; Analysis_id = $ analysis_ID; }} Class standard expansion extends (public work __ compositions ($ analysis_id) {origin: __ generation ($ analysis_id);}} $ db my database (Mysqli) is the object that I have passed in app class. When I try to do a new standard analysis, I start it like this: $ analysis = new standard ($ analysis_ID); To get meta data about an analysis in the analysis class One of the methods, while the standard class is involved in ways to retrieve calculations for that specific type of analysis. I thought I would be able to use the $ db object, but I Analysis or standard class. Do I have to pass the standard code to the $ db object when I start it? your analysis The father, app needs...

terminal - perl saving output of command with syntax highlighting -

I want to run a command in the terminal and capture the output so that I my Output = `command`; The problem is that the highlighting syntax is in the command, then I print later, I loose the syntax highlighting and instead Print $ output; Result one ?? [31mArAà ¢ â,¬Ãƒâ € šÃ, €? [ How can I get commands without Syntax highlighting or somehow highlight syntax for display on a print. "post-text" itemprop = "text"> Try to escape ANSI color from shell output: $ my output = `command `; My $ output = ~ s / \ e \ [[\ d;] * m / g; Print "$ Output", "\ n"; If you want to remove all ANSI escape-sequences, replace regexp with: s / \ e [?. *? [\ @ - ~] // g

iphone - Storyboard is creating multiple instances of my DetailViewController -

I started using the storyboard, but looking at a very important difference: every time I navigate back to the storyboard I think a new view controller appears immediately and further. Example: I create two new Xcode projects based on master-extension templates. In Case 1, I use the storyboard and in case I use 2xib. Generally I expect to treat them equally, but they do not! In both, DetailViewController.m I add the following method: - (zero) viewDidApplication: (BOOL) animated {if (xposition == 0) {xposition = 50 ; } And {xposition = xposition + 50; } NSLog (@ "xposition update% d", xposition); } (I have declared exposure as an "int" instance variable in the header): When I run the storyboard Yes, and tap and navigate in "DetailViewController" in and out, then my NSLog statement keeps me "xposition update 50". On the contrary, for the .xib version, I get my expected behavior where every time I navigate in the Extensible Control...

java - Package uses conflict: Import-Package with jasperreports -

I have a common "usage conflict" problem in OSGi, I am new to OSG, if it is very simple then I am sorry. I have read and asked questions, I have also read this, which tell in more detail about debugging these problems; Still, I can not understand that I do not get duplicate exports (while referring to that last article, "there should always be more than one supplier who uses you to compromise the obligation.") The complete error is Initial @ Reference: File: ../../ Dev / My / Target / Dependency / Jasperport-3.7.1- osgi.jar [151] Package Conflict Uses: Import-Package: org.apache.commons .collections.comparators; Version = "0.0.0" This is the relevant snippet of jasper manifest. It is too long to fully paste export-package: .., net.sf.jasperreports.crosstabs.fill.calculation; Usage: = "org.apache.commons.collections, net.sf.jasperreports.engine, org.apache.commons.collections.comparators, org.apache.commons.logging, ..." And here th...

- Where Developers Learn, Share, & Build Careers

I have a question that I would be happy to answer. I have two arrays, we say: string [] name = {"names names", "second name"}; String [] number = {"111 11 111", "222 22 222"}; I have to put two ListViews in one item in my ListView. (I tried to paint it with the picture). I f.ex. My name array in the list view with a simple lv.setAdapter (new array adapter & lt; string & gt; (this, R.layout.single_name, name); I have my.xml, single_name.xml and single_number.xml in my Layouts folder in my ListView. Since I am new to this site, I am not allowed to add a picture, I will try to describe it here: HEADER (item one) Name names 111 11 111 (item two) Second name 222 22 222 And it will continue on the basis of the quantity of contacts. Any help will be greatly appreciated :) Thanks Thanks advance! You also need to create a custom adapter and custom view to represent each row in your list. Will be. ...

ajax - jquery ajaxstart is not triggerred on the first load -

निम्नलिखित मेरा कोड है $ (document) .ready (function () {$ (दस्तावेज़) .जैक्सस्टार्ट (फ़ंक्शन () {चेतावनी ("शुरू");}); // पृष्ठ रीडर का इस्तेमाल कर और जेसन के जरिए AJAX कॉल प्राप्त करना .....} यह पृष्ठ को बैकबोन द्वारा सर्वर से लाया गया जेएसएन डेटा का उपयोग करके बैकबोन प्रदान किया गया है.पृष्ठ पर बटन क्लिक करते हैं, जो क्लिक करते समय अतिरिक्त एजेक्स कॉल्स करते हैं.पृष्ठ लोड पर, एजेक्सस्टार्ट ट्रिगर नहीं होता है, हालांकि जेसन डेटा का अनुरोध किया जाता है / ठीक से भेजा जाता है। एक बार पृष्ठ पूरी तरह से प्रस्तुत हो जाने पर, AjaxStart के रूप में अपेक्षित होता है जब भी मैं अन्य एजेक्स कॉल करने के लिए बटन पर क्लिक करता हूं। मैं सोच रहा था कि एजेक्स स्टार्ट पहले लोड पर क्यों नहीं ट्रिगर किया गया है और मैं इसे कैसे ठीक करूँ? धन्यवाद! सबसे अधिक संभावना है कि आप अपने ईवेंट को बाइंड करने से पहले अजाक्स शुरू हो रहा है। इसे जल्द ही बाध्य करने का प्रयास करें: $ (दस्तावेज़) .एजेक्सस्टार्ट (फ़ंक्शन () {चेतावनी ("प्रारंभ");}); // $। ($) के बाहर .ready (फ़ंक्शन () ...

java - Make a panel use the exact space it needs and fill in the rest with another panel -

Image
I want to create a layout with two componenents in a vertical line, the first component is an example of my own class, The panel that expands and displays an image, and I want to take it to the right place, which requires the full picture to be displayed. The remaining space should then be filled by another component (in this case another panel with a gridlate). View pictures. In Android, Can do this by using, but I can not find anything like Java, and I can not see that none of the standard layout managers in Java are suitable for this. I tried to insert ImagePanel in North Layout and other panels in the border layout. The serator, but the second panel was overlapping the image so that it would not work. I will not even care about a grid layout but the size of the grid in the image, so I do not think that it will also work. Any help is appreciated. Border layout should work, provided the getPreferredSize () Returns the right dimension (i.e. displays the dimension...