instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
Recently I upgraded to Visual Studio 2010 in the hope that it would provide matching bracket hightlighting for Javascript as it does for C#.
On the project I am working on I am doing more Javascript than C# and I finding the lack of bracket matching quite painful.
Is there any method of turning on this feature for Java... | stackexchange/codereview |
I've got a table where the accessoryView button in the cell is replaced by a custom check mark icon. If the time interval for a pair of temperature settings is enabled, the cell row shows a check mark, along with a time, heating and cooling value. If the time is disabled, no check mark, and time displayed in the timefi... | stackexchange/codereview |
Edit: I incorrectly used #include <stdio.h> when I needed to include <iostream>. This happened mostly because I was integrating some C style code with a larger C++ program.
EndEdit
I'm using a simple test framework for my college class, but whenever I use the provided preprocessor macro I get these two errors. I've ex... | stackexchange/codereview |
I'm trying to create a plugin for tinyMCE that opens a new dialog window.
The URL that it opens depends on a variable as follows:
var open_url = 'http://www.mydomain.com/footnote/edit/'+ID;
tinyMCE.activeEditor.windowManager.open({
url : open_url,
width : 320,
height : 240
});
If I just enter the URL par... | stackexchange/codereview |
Do you know how to create a ldap compatible password (preferred md5crypt) via python on Windows
I used to write something like this in Linux but the crypt module is not present on Windows
char_set = string.ascii_uppercase + string.digits
salt = ''.join(random.sample(char_set,8))
salt = '$1$' + salt + '$'
pwd = "{CRYPT... | stackexchange/codereview |
I have a datetime column in sql2005. it's default value is getdate().
How can I update it's value automatically when others value update?
| stackexchange/codereview |
I'm pretty new to MVC2 and need some help on how to do something. I have a Business Object which has associated a list of childs (example, A class populated with alumns). The thing is, any class can have an arbitrary number of alumns, so, how can I practically put that into a view? How will the user add new alumns or d... | stackexchange/codereview |
This works (places the button in the overflow area):
<ToolBar>
<Button ToolBar.OverflowMode="Always">Hit me</Button>
</ToolBar>
This does not (does not place/keep the button in the overflow area):
<ToolBar Grid.Row="3" ItemsSource="{Binding Path=Groups[0].Items}"></ToolBar>
<DataTemplate DataT... | stackexchange/codereview |
I don't work with the Windows API much, but I've seen it used there as well as occasionally in a codebase here at work.
| stackexchange/codereview |
This seems like such a basic task, but I'm stumped.
How, in Xcode, do you execute a textual search though (the XML contents of) all the .xib files in a project?
For example, all of our .xib files contain this string on the second line: com.apple.InterfaceBuilder3.CocoaTouch.XIB. So I'd think that searching all project ... | stackexchange/codereview |
I wonder how I can pass arguments of some function to a subpart of the function that uses with / within. e.g.:
myfunction <- function(dataframe,col1,col2){
res <- within(dataframe, somenewcol <-paste(col1,"-","col2",sep=""))
return(res)
}
where col1 and col2 are columns contained in the dataframe. What´s ... | stackexchange/codereview |
I'm wondering if anyone can help me. I have a wcf service running over TCP which will make use of a duplex service. currently this service calls a business object which in turn does some processing. While this processing is happening on a background thread I wish the UI to be updated at certain points. I've attached my... | stackexchange/codereview |
I wonder if anyone can help me out with this..
I have a foreach loop in a form in drupal which iterates through options for some JQuery sliders.
This works fine.
However I wanted to add a markup field within the loop, so that I could have a header div above wach slider. Instead of looping through each one, it displaye... | stackexchange/codereview |
When I run rake db:migrate for this code http://github.com/jonastryggvi/facebook-rails, I obtain :
can't activate rack (~> 1.2.1, runtime) for ["faraday-0.5.1"], already activated rack-1.0.1 for ["actionpack-2.3.5", "rails-2.3.5"]
This, of course, prevent the Oauth2 gem from loading, and I cannot run the demo. I tried... | stackexchange/codereview |
Hey,
Is it possible with easy options in ASP.NET to set the focus at end of text in a textbox-element ? Without JavaScript ?
| stackexchange/codereview |
I need to integrate apple push notifications. I am not clear about the certificate needed for the server. As I know this is a generated certificate form server end and does it needed to be signed by a valid certificate authority? If so how does APNS going to validate this?
For the apple sandbox cant we proceed with a t... | stackexchange/codereview |
Why in the bisection method it is better to compute the midpoint c between a and b with
c = a + (b - a) / 2.
instead of the simpler:
c = (a + b) / 2.
all variables are floating points.
| stackexchange/codereview |
Look at the following Grails domain class, which modifies a value within a setter, if the object is saved the first time (if it has no id):
class Idtest {
String name
void setName(String name) {
if(!this.id)
this.name = name + "TEST"
else
this.name = name
}
}
If I generate views and contro... | stackexchange/codereview |
Lets start out with an simple 16 x 16 array of ints.
How would I insert the 'SomeValue' into the array in a 90 degree clockwise order.
int[] image = new int[16 * 16];
for (int x = 0; x < 16; x++)
{
for (int y = 0; y < 16; y++)
{
int someValue = x * y;
// This is the line I think is wrong
... | stackexchange/codereview |
In learning WPF, I've been reading scads of books and web sites. One thing that seems to keep evading me is how we are supposed to properly wire up RoutedCommands. In one article, the author pointed out that the codebehind for your XAML files is supposed to contain nothing more than the call to InitializeComponent. I c... | stackexchange/codereview |
We are building a production setup which has two application servers and two mysql database servers. For HA capabilities I want to set up replication between the 2 database servers.
Some of the questions I want to address is:
1. What are the pros and cons of having a Master-Slave set up vs a Master-Master set up? Und... | stackexchange/codereview |
I need to reorder a collection
The final results should be that all the items in the collections that have propertyOne > 0 and PropertyTwo=0 should
be first and then the others should follow
I have done the following but I am not sure why it does not work!
IOrderedEnumerable<OrderLineItem> orderedItemList=
OrderList.... | stackexchange/codereview |
Tomcat 6.0 was installed sucessfully and also getting web page tomcat starter but the prob is in Eclipse: I can see server in windows-preferences-(server option i can't see)
| stackexchange/codereview |
I'm trying to duplicate something you can do in .Net but not having much luck.
Is the following not possible in Java or am I just missing something? When I run it I get told there is no identifier specified for entity Group.
public abstract class RCEntity
{
@Id @GeneratedValue
private int id;
//getters & s... | stackexchange/codereview |
I have a class in the same namespace as my form. Is it possible for me to access methods/properties of my form controls from my class? How can I accomplish this?
| stackexchange/codereview |
I'm planning to use the following setup on EC2: PHP (recent version) plus memcached on an ec2 instance, and using Amazon's RDS service for the MySQL database.
Is there a recommended instance that has PHP and Memcached installed with the most often used php extensions? I am not much of a sysadmin and would prefer one th... | stackexchange/codereview |
I have fields with multiple classes. I want to use one of those classes as a selector, how do I do this?
generic example:
<input id="from"/><div class="error from">errormessage</div>
<input id="to"/>
<div><input id="when" /></div><div class="error when">errormessage</div>
Because ther is a div.error with the class fro... | stackexchange/codereview |
I was wondering if you had any basic tips to improve the performance of a Perl script performance (like memoizing determinist functions)?
| stackexchange/codereview |
I'm trying to create an application that maxes out the user's downstream by continuously sending data. Is there a variable that tells how many bytes are in the out buffer? And I say "out buffer," but is there a better term for the data that is being buffered before its sent to the client? Am I going about this the r... | stackexchange/codereview |
.NET WinForms several styles in a label
| stackexchange/codereview |
I'm using NServiceBus in it's own process (so not using the Generic Host) and I would like to have multiple message handlers for a message in a specific order. For the Generic Host, you would implement ISpecifyMessageHandlerOrdering, but I don't know how to do this when hosting your own NServiceBus process since that i... | stackexchange/codereview |
Is there any way how I can create a UITabBar with options such as Home, Search and Login and display these on all the pages including those without a UITabBarItem? For instance, on my Shopping Cart view I will have the UITabBar (with Home, Search and Login) but without a UITabBarItem for the Shopping Cart?
Is this poss... | stackexchange/codereview |
I have simple web application called App that is secured with Windows Authentication. I have set identity impersonate to true in web.config. There is only one page (Default.aspx) in App directory. When user enters the site ex.: http://localhost/App the login window pops up. When user clicks Cancel, IIS redirects to pag... | stackexchange/codereview |
I've setup a jms server with HornetQ as a JMS provider (Queue).
I have an application which acts as a producer and another one (different computer) as a consumer.
I understand that the JMS specification doesn't guarantee the order of delivery, but I'm looking for a way to do just that: receive the messages exactly in t... | stackexchange/codereview |
I am working on a project that requires me to send raw headerless ulaw or linear pcm data to a server.
I am using the AVAudioRecorder and I can save out audio files to the phone quite easily, but the problem is that it no matter what I try and do, they get wrapped in a caf file or stamped with some kind of header.
It'... | stackexchange/codereview |
Why, when an image does not exist at a specified URL, does didFailWithError not get called? For example:
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.google.com/images/someImageIknowDoesntExist.jpg"]
cachePolicy:NSURLRequestReturnCacheDataElseLoad
... | stackexchange/codereview |
My C Win32 application should allow passing a full command line for another program to start, e.g.
myapp.exe /foo /bar "C:\Program Files\Some\App.exe" arg1 "arg 2"
myapp.exe may look something like
int main(int argc, char**argv)
{
int i;
for (i=1; i<argc; ++i) {
if (!strcmp(argv[i], "/foo") {
// hand... | stackexchange/codereview |
Maybe some background: I'm trying to have a specific keyboard-view visible above a scrollable full-screen EditText when the user clicks it. The problem is that if the cursor is at the bottom of the EditText it is hidden by the popped up keyboard-view.
The obvious difference to the regular IME-view is that the IME-view ... | stackexchange/codereview |
I'm using ASP.NET MVC and I'm trying to generate a piece of javascript as part of the view rendering. I have a model that expose an array of simple types and I would like to generate a javascript/json equivalent array into the view so that I can act on it using jQuery. So given the following model:
public class Info {
... | stackexchange/codereview |
I have a COM Outlook addin which implements a ribbon button in Outlook 2010. It's been working just fine for quite some time. Until someone tried to load the addin in the Korean version of Outlook. The ribbon buttons show up but do not do anything when clicked. In the debugger, I see the error message below whenever I ... | stackexchange/codereview |
Foo.group(:start_at).count(:id)
How I can group this by date ? the "start_at" column is an datetime column
| stackexchange/codereview |
Is there a way in Asp.Net MVC to use some kind of fluent validation ?
I means, instead of validation my poco like that :
public class User {
[Required]
public int Id { get; set; }
Having something like that (in an external class) :
User.Validate("Required", "Id");
Is that something possible in Asp.Net MVC 2 ... | stackexchange/codereview |
I'm trying to use the userBox plugin and in the example we have the following array being built:
var data = [
{text: "Adam Adamson", id: "adam@test.com"},
{text: "Betsy Boop", id: "betsy@test.com"},
{text: "Jooles Jooles", id: "julie@test.com"}
];
I want to build my array at runtime using JSON da... | stackexchange/codereview |
I write a one POS system. I want to print on continuous paper but I don't figure out how I can accomplish this.
I use the .net (C#). I try with crystal report as well as System.drawing classes.
Any idea will be helpful for me...
| stackexchange/codereview |
I have the string with javascript call which is bound to HTML Select event:
@Html.DropDownList(Model.DropDownName, Model.ItemsForView, new { onchange = "someMethod('someArgumentValue')" })
which is rendered to the following code:
onchange="someMethod('someArgumentValue')"
Is there any way to make ' symbol ren... | stackexchange/codereview |
With java.awt.print.PrinterJob, i added the PrintRequestAttribute - PageRanges, to print specific pages ranging between a lower bound and upper bound. It does not print from the specified lower bound but always starts printing from the first page. How to get it resolved?
| stackexchange/codereview |
The built-in Mathematica command Save[file, symbol] uses FullDefinition[] to look up the definition symbol and all of the subsidiary definitions.
For example, the commands
a:=b
c:=2a+b
Save[ToFileName[NotebookDirectory[],"test.dat"],c]
produces the file test.dat containing
c := 2*a + b
a := b
I have a program with a ... | stackexchange/codereview |
Are C# and JavaScript Regular Expressions different?
Is there a list of these differences?
| stackexchange/codereview |
In this code (ready to compile):
#include "stdafx.h"
#include <iostream>
#include <sstream>
using std::cout;
template<class T, int first, int second>
T make()
{
T result = T();
std::stringstream interpreter;
interpreter << fir... | stackexchange/codereview |
{
"_id" : ObjectId("4ccb42cb8aad692e01000004"),
"loc" : {
"lat" : 37.799506,
"long" : -122.459445
},
"test_set" : 1,
"title" : "Melissa Mills Housewife 01 SIGNED",
"num_comments" : 58,
"down_votes" : 66,
"up_votes" : 79,
"image_url" : "http://farm2.static.flickr.com/1... | stackexchange/codereview |
If I give a line-height to a block element like h1 it adds the space above and below the each text line, that means the element does not begin on the same top position. What if I just want a spacing below each line? I know that vertical-align does only work with inline-elements.
I also recognized that a text of a block... | stackexchange/codereview |
I have a managed entity which has a EntityListener attached to it. The EntityListener on PostUpdate and PostPersist adds the entity to a JMS queue to do some more processing. So here is the scenario, I have a session bean which updates the Entity and merges the changes, which in turn triggers the PostUpdate on the list... | stackexchange/codereview |
How can I programmatically perform a screen capture on an Android phone?
| stackexchange/codereview |
Can you give me an example of creating persistent object in Java. thanks
| stackexchange/codereview |
I'm trying to do this on a DotNetNuke site with multiple portals, so I want to do this server-side VB loads a javascript file if it exists. Any ideas?
| stackexchange/codereview |
I see a lot of simple examples of JSON DeSerialization, but when it comes to anything slightly more complex, there is a lacking of samples.
I'm looking at deserializing Responses from GetResponse's API:
Simple e.g.
{
"result" : {
"updated" : "1"
},
"error" : null
}
Another:
{
"result" : null,
... | stackexchange/codereview |
I'm writing an android app that I am going to want to create more content for (specifically images). I want the user to be able to download some type of image pack that will be listed in the Market. Obviously this download will not really be a new application, just a set of data that the user can download.
Thanks.
| stackexchange/codereview |
I've been trying for longer than I'd like to admit to get JSTL working under Eclipse (and ultimately under GAE/J). I've downloaded Eclipse, the Google App Engine Extension for Eclipse, and JSTL (http://download.java.net/maven/1/jstl/jars/ - jstl-1.2.jar is in the WEB-INF\lib directory).
My code is below along with the... | stackexchange/codereview |
With the iOS SDK I need to find an easy and secure way to see if an NSDate is today, yesterday, tomorrow. What I'm looking for is something like this in pseudo code:
NSDate *myDate = someDate;
if ([myDate isTomorrow]) {
NSLog("Tomorrow");
}
How would you solve it?
| stackexchange/codereview |
I'm trying to do a JPA query from a view template but it's not working (I've verified that there are records using phpMyAdmin). I know this should normally be done through the controller and passed in via render, but this is part of building a menu which will appear on every page and I don't want to have to modify eve... | stackexchange/codereview |
Yesterday I setup some software which tracks all http requests across our network of websites. After analyzing the first day of traffic we found nearly a dozen IP's that were flat out harvesting our data. It's pretty obvious when one ip browses 300 pages in a matter of 1 hour lol. I did do a reverse lookup on these and... | stackexchange/codereview |
I am trying to select some fields from one table and insert them into an existing table from a stored procedure. Here is what I am trying:
SELECT col1, col2
INTO dbo.TableTwo
FROM dbo.TableOne
WHERE col3 LIKE @search_key
I think SELECT ... INTO ... is for temporary tables which is why I get an error that dbo.TableTw... | stackexchange/codereview |
Just to simplify my question here: Update Geocode latitude and logitude everytime address is updated
I wanna do this:
Two input field for user to enter values for A, B. When it is saved, value A and B are saved to the database. In the database column, there is a column C, which dynamically C = A + B.
First save:
A = 1
... | stackexchange/codereview |
So I have a UITableView that has a list of image names and corresponding thumbnails, and I'd like to implement some sort of click to expand thumbnails, so when a user clicks on the thumbnail, it expands to fill the whole screen. Is there an easy way to do this? It needs to only expand for the image part of the cell, no... | stackexchange/codereview |
Given a multi-line EditText, how can I know the line number at cursor position?
| stackexchange/codereview |
I am using an org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream to add files coming from a Subversion repository.
This works fine as long as I do not use German Umlauts (ä,ö,ü) or any other special characters in the filename.
I am wondering what would be the fastest way to make it accept non ASCII chars?... | stackexchange/codereview |
Background: I'm currently working on an intranet site that makes use of the MochaUI library (working from the virtual desktop demo). I'm using Mootools 1.2.4 and MochaUI 0.9.7. The windows that are opened in my "virtual desktop" implementation load their content via iframes. Some of the loaded pages are pretty hefty in... | stackexchange/codereview |
I'm a Java dev thinking about investing time in learning Scala to develop future apps. I've read quite a bit about the advantages of Scala over Java, but they're a bit abstract to really sell it to me emotionally.
Can someone suggest an example of an application that would really suit being developed with Scala, as opp... | stackexchange/codereview |
Ok i havent used CUDA before, i was hoping to get started on it using VS2010.
Ive run the bandwidth test and ive got everything installed (i believe). I also have NProfiler installed.
But im not too sure what i have to do to start coding CUDA in VS2010. I have been googling around but everything seems aimed at VS2008.
| stackexchange/codereview |
I started writing my first Android app, and chose SDK 2.0.1, before I had an android phone.
I wantto test the app on a phone that is Android 1.6. The app itself uses pretty simple stuff, so I'm sure its 1.6 compatible, but I want to change the SDK level from Eclipse.
The "default.properties" file in my project tree and... | stackexchange/codereview |
Our website makes use of the overLIB library to show "more information" about clickable links on mouseover. The result is that on iOS devices, the first click will result in the mouseover text appearing, while the second will activate the link.
What is the easiest way to keep the mouseover text for non-iOS browsers,... | stackexchange/codereview |
I'm trying to use a Canvas to display an animated gif. I have the animation working, but the canvas is too small to see the entire image, and I cannot get it to resize.
I can't even get it to be the right size for the first frame, so the animation/threading code is being omitted. My code looks like:
Composite comp = ne... | stackexchange/codereview |
Our application generates a Word document using Syncfusion's DocIO libs. Basically, we load a template and insert into it specific texts in specific bookmarks, generating a Word document that the user downloads on-the-fly.
The issue we are facing is:
The template is 4 pages long and has TOC.
As we add content, the do... | stackexchange/codereview |
This is the code i have:
The 'media_work' table has an 'order' field that indicate the order of the files.
I want to sort the result of the 'media_work' table to get the first item (image)
This code works but doesn't order the 'media_work'
SELECT work.id, work.title, media.file_name_thumb,media_work.order,
COUNT(media... | stackexchange/codereview |
Any one help to find out the correct crash line in xcode during crash .Its very difficult to debug .so help me as soon as possible.thanks in advance.
Regards,
Arunkumar.P
| stackexchange/codereview |
I've got a Python application which is daemonized and running on a server 24/7. I'd like to be able to give an incredibly simple web interface so that I can monitor the changing values of a few variables within the program.
I'm using Tornado, and I'm up and running with the simple 'Hello, world' that you can find on t... | stackexchange/codereview |
Is it possible to include Makefiles dynamically? For example depending on some environment variable? I have the following Makefiles:
makefile
app1.1.mak
app1.2.mak
And there is an environment variable APP_VER which could be set to 1.1.0.1, 1.1.0.2, 1.2.0.1, 1.2.0.2.
But there will be only two different makefiles for... | stackexchange/codereview |
I've been working on a web application created on Netbeans 6.9.1, and everything works fine and I'm able to deploy it without problems. Today I've created an Enterprise Application and replaced the content of 'web' and 'src' folders on the Enterprise Application web module with the folders from the original web applica... | stackexchange/codereview |
I have a string of data "latitude,longitude,location" stored as an NSString.
I want to reference the data in different ways so I stored it into an NSArray.
I then store the data in easy to read NSString values and want to reuse them a couple times.
- (IBAction)convertButtonPressed:(id)sender
{
NSString *returnData = @"... | stackexchange/codereview |
Here is the simplified version of my code
<?php session_start();
if($_GET['page'] == "login")
{ // process username/password
if(login is successful)
$_SESSION['access'] = "dev";
}
else if($_GET['page'] == "request")
{
//get some data from an xml file using simplexml
... | stackexchange/codereview |
I'm trying to make my project OSS, and I'd like to remove any sensitive info from the configs. I'm trying to have ENV['DB_PASS'] = mypassword. Where would I set this? I've tried export DB_PASS=mypassword in my .bashrc file. But that's not working.
| stackexchange/codereview |
I see a lot of questions on the topic of network programming. Despite all the questions and answers I just do not know which way is best to start. Is it better to start from the lowest level, or immediately to work in .NET C #, without going into details below abstraction? Is it better to go with Winsock or BSD Socket ... | stackexchange/codereview |
jQuery question.
I have animated .block moving to the right for 5000px.
$(".block").animate({"left": "+=5000px"}, 2000, 'linear');
What I need is to slowly stop this animation after the click:
('#clickme').click(function() {
// ... stop $(".block") animation, not immediately, but with some easing
});
Is this possib... | stackexchange/codereview |
I would like to do something like this (I'm aware that this won't compile):
struct Container{
vector<int> storage;
};
float foo(Container* aContainer){
if(aContainer!=NULL)
vector<int>& workingStorage=aContainer->storage;
else
vector<int> workingStorage;
workingStorage.reserve(100000... | stackexchange/codereview |
I am using MVVM for a WPF app and I have a Telerik RadTreeView, and when I collapse a parent, I'd like to recursively collapse all children (and their children, etc) so that when I expand the parent again, I don't see any grandchildren, because all children are collapsed. Is there a property of the RadTreeView that Can... | stackexchange/codereview |
I am new to Cucumber, JRuby, Gems and how it works.
I like the idea of writing down the test case in plain English, but I am not keen on installing a lot of new tools (I really really like Java), just to get Cucumber up and running.
So I have a few questions.
1) Do I need install JRuby/Ruby to use Cucumber in Java? No ... | stackexchange/codereview |
I have a database table, let's call it headers with an id and a String-field called "header". Another table in the database, called subheaders has two fields, headerId and the String field "subheader". There are 0, 1 or 2 subheaders per header. I now want to use Kettle/Pentaho Data Integration to generate an Excel outp... | stackexchange/codereview |
Here's an excerpt from Live HTTP headers, I've replaced several values for anonymity.
POST blah/admin.php?module_id=1&action=update&id=129&pageNum=17&&eid=362 HTTP/1.1
Host: blah
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Firefox/3.6.12
Accept: text/html,application/xhtml+xml,app... | stackexchange/codereview |
I've written some java swing code that animates some balls in a JPanel using a Timer and some other crap, and it doesn't refresh the background, so it has a streaking effect (I don't know what to call it). How could I go about fixing this? Also, how do I select best answer? Thanks dudes. This is the pertinent code:
pub... | stackexchange/codereview |
I am working on a runtime composite resource library for ASP.NET WebForms/MVC. I support both standard ASP.NET WebForms via WebControls and have also recently added support for ASP MVC Html Helpers. One feature that I currently support with the WebForms WebControls is the concept of "Partial" resource definitions wher... | stackexchange/codereview |
I'm trying to write some c code (objective c) which will take a bank account balance and a desired balance from the user and produce a value which I can add or subtract from the current balance to achieve the desired balance.
I think I'm made things overcomplicated, heres what I have...
//get desired amount to variable... | stackexchange/codereview |
Currently I am designing a small twitter/facebook kind of system, where in a user should be able to see his friends latest activities.
I am using ASP.NET with MySQL database.
My Friendships table is as follows:
|Friendshipid|friend1|Friend2|confirmed|
Friend1 and Friend2 in the above table are userids.
User activitie... | stackexchange/codereview |
I have searched around on the net but I cannot find a method of copying/cutting/pasting selected text from a RichTextBox.
Even MSDN does not have an answer. The code they provide does not work: Copy() only appears to work on TextBoxes, not RichTextBoxes.
| stackexchange/codereview |
I have a MainActivity class with an "Add Item" button and a listview and a AddItemActivity class with a textbox and a "save" button. The user should click on the "Add Item", go to the AddItemActivity screen, enter an item, click 'save' and then go back to the updated MainActivity screen.
(BTW, I'm using MonoDroid, but... | stackexchange/codereview |
First of all thanks for taking the time to read my question. Here is what I am trying to accomplish followed by what I have so far on this.
What I want to do is create a Windows application (or server of sorts) that would listen for requests from an ASP.NET application. The windows application would be installed and wo... | stackexchange/codereview |
What's a good (preferably free) software tool for creating data structure diagrams? For example, something like this:
| stackexchange/codereview |
I'm working on a game which will use projectiles. So I've made a Projectile class and a new instance is created when the user touches the screen:
@Override
public boolean onTouch(View v, MotionEvent e){
float touch_x = e.getX();
float touch_y = e.getY();
new Projectile(touch_x, touch_y);
}
And the Projecti... | stackexchange/codereview |
I am using Maven Assembly plugin to pack a jar file.
But when I run mvn package, maven always trigger the [jar:jar {execution: default-jar}] to create a default jar file.
So I will have 2 jar files (one created by Assembly plugin and one created by Maven jar which i don't want to be created).
How can I turn off the def... | stackexchange/codereview |
i'm trying to edit the content of the cells of a certain column in my JTable with ComboBoxes. Therefore i simply use the code from the official Java Tutorial on JTables (http://download.oracle.com/javase/tutorial/uiswing/components/table.html).
The relevant code ends up looking like this:
tableModel = new NetworkTable... | stackexchange/codereview |
I am using two textview to display links from database, I managed to change link colors but I want to remove the underline
email.setText(c.getString(5));
website.setText(c.getString(6));
Linkify.addLinks(email, Linkify.ALL);
Linkify.addLinks(website, Linkify.ALL);
Can I do that from XML or Code ?
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.